Skip to content

Commit 232b758

Browse files
author
chadcarlson
committed
Tag check.
1 parent 1de0a13 commit 232b758

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/npm-publish.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
node-version: '10.x'
1515
registry-url: 'https://registry.npmjs.org'
1616
- run: npm install
17-
- run: npm publish
17+
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
1818
env:
1919
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
20+
run: npm publish
21+

0 commit comments

Comments
 (0)