Skip to content

Commit 50b7597

Browse files
committed
Do not increment npm package version
1 parent ddc726c commit 50b7597

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/npm-publish.yml

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
registry-url: https://registry.npmjs.org
3030
always-auth: true
3131
- run: yarn install --frozen-lockfile
32+
- run: yarn version --new-version "${GITHUB_REF:11}" --no-git-tag-version
3233
- run: yarn publish --access public
3334
env:
3435
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -43,6 +44,7 @@ jobs:
4344
node-version: 14.x
4445
registry-url: https://npm.pkg.github.com
4546
- run: yarn install --frozen-lockfile
47+
- run: yarn version --new-version "${GITHUB_REF:11}" --no-git-tag-version
4648
- run: yarn publish --access public
4749
env:
4850
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)