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 6b345ea commit 93c7f0dCopy full SHA for 93c7f0d
.github/workflows/publish-node.js.yml
@@ -20,10 +20,10 @@ jobs:
20
- run: git config --global user.name "GitHub CD bot"
21
- run: git config --global user.email "[email protected]"
22
- run: npm version ${{ github.event.release.tag_name }}
23
- - run: npm publish
24
- env:
25
- # Use a token to publish to NPM. See below for how to set it up
26
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+ - uses: JS-DevTools/npm-publish@v1
+ with:
+ token: ${{ secrets.NPM_TOKEN }}
+
27
# push the version changes to GitHub
28
- run: git push
29
env:
0 commit comments