We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1de0a13 commit 232b758Copy full SHA for 232b758
1 file changed
.github/workflows/npm-publish.yaml
@@ -14,6 +14,8 @@ jobs:
14
node-version: '10.x'
15
registry-url: 'https://registry.npmjs.org'
16
- run: npm install
17
- - run: npm publish
+ - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
18
env:
19
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
20
+ run: npm publish
21
+
0 commit comments