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 68e71d8 commit be562ecCopy full SHA for be562ec
1 file changed
.github/workflows/publish.yml
@@ -1,8 +1,7 @@
1
name: Publish
2
on:
3
- push:
4
- branches:
5
- - main
+ release:
+ types: [published]
6
7
jobs:
8
publish:
@@ -20,9 +19,9 @@ jobs:
20
19
registry-url: 'https://registry.npmjs.org'
21
22
- name: Publish package to npmjs.com
23
- - run: npm ci
24
- - run: npm run build
25
- - run: npm publish --provenance --access public
+ run: npm ci
+ run: npm run build
+ run: npm publish --provenance --access public
26
env:
27
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
28
0 commit comments