Skip to content

Commit

Permalink
Do not increment npm package version
Browse files Browse the repository at this point in the history
  • Loading branch information
FDiskas committed Mar 11, 2021
1 parent ddc726c commit 50b7597
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
registry-url: https://registry.npmjs.org
always-auth: true
- run: yarn install --frozen-lockfile
- run: yarn version --new-version "${GITHUB_REF:11}" --no-git-tag-version
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -43,6 +44,7 @@ jobs:
node-version: 14.x
registry-url: https://npm.pkg.github.com
- run: yarn install --frozen-lockfile
- run: yarn version --new-version "${GITHUB_REF:11}" --no-git-tag-version
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 50b7597

Please sign in to comment.