We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6a9bb45 + 5facff0 commit b71c224Copy full SHA for b71c224
1 file changed
.github/workflows/node_sdk_publish.yaml
@@ -90,6 +90,14 @@ jobs:
90
cat package.json
91
92
- name: Publish package to NPM
93
- run: yarn publish --access public
+ run: |
94
+ if [[ "${{ github.event.release.prerelease }}" == "true" ]]; then
95
+ echo "Publishing as a release candidate (rc)..."
96
+ yarn publish --access public --tag rc
97
+ else
98
+ echo "Publishing as the latest release..."
99
+ yarn publish --access public
100
+ fi
101
env:
102
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
103
+
0 commit comments