From b082eb2b7a660fe90bbe2a89ad53ee27714a3e23 Mon Sep 17 00:00:00 2001 From: Sairaj Jawalikar <65067289+s41r4j@users.noreply.github.com> Date: Fri, 20 Jun 2025 00:09:27 +0530 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c8fa4b..9d2c8dd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,10 +25,15 @@ jobs: - name: Run tests run: npm test - - name: Version patch - run: npm version patch - + - name: Set Git identity + 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 - run: npm publish --access public + run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}