Skip to content

Commit b2bcf1c

Browse files
committed
Rename publish workflow, always run
1 parent c402334 commit b2bcf1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/npm-publish.yml .github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ name: Publish to npm
66
on:
77
push:
88
pull_request:
9-
tags: ["[0-9]+.[0-9]+.[0-9]+*"]
109

1110
jobs:
1211
publish-npm:
@@ -19,6 +18,7 @@ jobs:
1918
registry-url: https://registry.npmjs.org/
2019
- run: npm ci
2120
- run: npm publish
21+
if: startsWith(github.ref, 'refs/tags/')
2222
env:
2323
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
2424

0 commit comments

Comments
 (0)