There was an error while loading. Please reload this page.
2 parents 0dcc02d + fc39c4e commit 910ced4Copy full SHA for 910ced4
1 file changed
.github/workflows/npm-publish.yml
@@ -30,7 +30,9 @@ jobs:
30
registry-url: https://registry.npmjs.org/
31
- run: yarn
32
- if: ${{ github.event.release.prerelease }}
33
- run: npm publish --tag=beta
+ run: |
34
+ npm version prerelease --preid=beta
35
+ npm publish --tag=beta
36
env:
37
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
38
- if: ${{ github.event.release.prerelease == false }}
0 commit comments