We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a8f2c3 commit 6df83bbCopy full SHA for 6df83bb
.github/workflows/npm-publish.yml
@@ -38,5 +38,10 @@ jobs:
38
env:
39
TAG_NAME: ${{ github.ref_name }}
40
- run: npm publish --provenance --access public
41
+ if: "!startsWith(github.ref_name, 'v5.')"
42
+ env:
43
+ NODE_AUTH_TOKEN: ${{ secrets.npm_secret }}
44
+ - run: npm publish --provenance --access public --tag v5
45
+ if: "startsWith(github.ref_name, 'v5.')"
46
47
NODE_AUTH_TOKEN: ${{ secrets.npm_secret }}
0 commit comments