Skip to content

Commit 683ea45

Browse files
committed
ci: publish main version to npm
1 parent 37ec9c7 commit 683ea45

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ jobs:
2020
run: npm publish --tag beta
2121
env:
2222
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
23+
- name: Publish to npm
24+
if: "!github.event.release.prerelease"
25+
run: npm publish
26+
env:
27+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)