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 f0bf5d0 commit 1271d95Copy full SHA for 1271d95
.github/actions/publish/publish-stronghold-nodejs/action.yml
@@ -52,4 +52,6 @@ runs:
52
env:
53
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}
54
# will publish 'latest' tag if no tag is passed
55
- run: npm publish $(if [ ${{ inputs.tag }} != '' ]; then echo --tag ${{ inputs.tag }}; fi) --access public
+ run: |
56
+ echo "//registry.npmjs.org/:_authToken=${{ inputs.npm-token }}" >> ~/.npmrc
57
+ npm publish $(if [ ${{ inputs.tag }} != '' ]; then echo --tag ${{ inputs.tag }}; fi) --access public
0 commit comments