பதிப்பு #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Node.js Package (next tag) | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
registry-url: https://registry.npmjs.org/ | |
- name: Installer pnpm | |
uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: latest | |
- run: pnpm install | |
- run: pnpm தொகுப்பு | |
- run: git config --global user.email "bot@example.com" | |
- run: git config --global user.name "Github Action" | |
- run: | | |
pnpm version prerelease --no-git-tag-version \ | |
--preid=`git rev-parse --short HEAD` | |
git commit package.json -m "முத்திரை அடுத்தது" | |
pnpm publish --tag அடுத்தது | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.npm_token}} |