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 15a1c66 commit ba7e57fCopy full SHA for ba7e57f
.github/workflows/ci.yml
@@ -32,8 +32,11 @@ jobs:
32
- name: Build and package
33
run: npm build
34
35
- # - name: Publish
36
- # if: ${{ github.event_name != 'pull_request' && matrix.node-version == 14 }}
37
- # env:
38
- # NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
39
- # run: npm publish
+ - name: Publish
+ if: ${{ startsWith(github.ref, 'refs/tags/' && matrix.node-version == 14 ) }}
+ ##if: ${{ github.event_name != 'pull_request' && matrix.node-version == 14 }}
+ env:
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
40
+ run: |
41
+ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
42
+ npm publish
0 commit comments