Update release.yml

This commit is contained in:
Sairaj Jawalikar
2025-06-20 00:09:27 +05:30
committed by GitHub
parent 6b05a9a2c4
commit b082eb2b7a
+9 -4
View File
@@ -25,10 +25,15 @@ jobs:
- name: Run tests - name: Run tests
run: npm test run: npm test
- name: Version patch - name: Set Git identity
run: npm version patch run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Bump version
run: npm version patch --no-git-tag-version
- name: Publish to npm - name: Publish to npm
run: npm publish --access public run: npm publish
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}