File tree Expand file tree Collapse file tree 1 file changed +11
-21
lines changed Expand file tree Collapse file tree 1 file changed +11
-21
lines changed Original file line number Diff line number Diff line change 1
- # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
- # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
-
4
- name : 🚀 Publish
1
+ name : " 🚀 Publish"
5
2
6
3
on :
7
4
release :
8
5
types : [created]
9
6
10
7
jobs :
11
- build :
12
- runs-on : ubuntu-latest
13
- steps :
14
- - uses : actions/checkout@v3
15
- - uses : actions/setup-node@v3
16
- with :
17
- node-version : 16
18
- - run : npm ci
19
-
20
- publish-npm :
21
- nee
8000
ds : build
8
+ publish :
22
9
runs-on : ubuntu-latest
23
10
steps :
24
- - uses : actions/checkout@v3
25
- - uses : actions/setup-node@v3
11
+ - name : checkout
12
+ uses : actions/checkout@v3
13
+ - name : node
14
+ uses : actions/setup-node@v3
26
15
with :
27
16
node-version : 16
28
- registry-url : https://registry.npmjs.org/
29
- - run : npm ci
30
- - run : npm run build
31
- - run : npm publish
17
+ registry-url : https://registry.npmjs.org
18
+ - name : 🚀 Publish
19
+ run : |
20
+ npm install --package-lock-only &&
21
+ npm publish --access public
32
22
env :
33
23
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments