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 26bf4a8 commit 3aabfe4Copy full SHA for 3aabfe4
.github/workflows/deployment.yml
@@ -90,7 +90,12 @@ jobs:
90
body: |
91
${{ steps.Changelog.outputs.changelog }}
92
draft: false
93
- prerelease: false
+ prerelease: ${{ contains( steps.package-node-version.outputs.version, '-beta' ) }}
94
- run: npm publish --access public
95
+ if: ${{ !contains( steps.package-node-version.outputs.version, '-beta' ) }}
96
+ env:
97
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
98
+ - run: npm publish --access public --tag beta
99
+ if: ${{ contains( steps.package-node-version.outputs.version, '-beta' ) }}
100
env:
101
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments