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 7ce3efe commit 65929d0Copy full SHA for 65929d0
.github/workflows/publish.yml
@@ -14,12 +14,13 @@ jobs:
14
node-version: 16
15
registry-url: https://registry.npmjs.org/
16
cache: npm
17
-
18
- - env:
19
- TAG_NAME: ${{ github.event.release.tag_name }}
20
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
21
- run: |
22
- npm ci
23
- npm test
+ - run: npm ci
+ - run: npm test
+ - run: |
+ echo "Publishing $TAG_NAME"
24
npm version ${TAG_NAME} --git-tag-version=false
25
- npm whoami; npm --ignore-scripts publish
+ env:
+ TAG_NAME: ${{github.event.release.tag_name}}
+ - run: npm whoami; npm --ignore-scripts publish
26
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments