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 d1799c4 commit 0d258d9Copy full SHA for 0d258d9
.github/workflows/publish-node.js.yml
@@ -17,7 +17,10 @@ jobs:
17
with:
18
node-version: 16
19
cache: 'npm'
20
- - name: Publish Package
21
- uses: novom/[email protected]
22
- env:
23
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Only needed if package is published on github packages
+ - name: Set env
+ run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
+ - name: Publish Package
+ uses: JS-DevTools/npm-publish@v1
24
+ with:
25
+ token: ${{ secrets.NPM_TOKEN }}
26
+ tag: ${{ steps.vars.outputs.tag }}
0 commit comments