File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -2,31 +2,26 @@ name: Publish Package
2
2
3
3
on :
4
4
release :
5
- types : [created ]
5
+ types : [published ]
6
6
7
7
jobs :
8
- publish-npm :
8
+ publish :
9
9
runs-on : ubuntu-18.04
10
10
steps :
11
11
- uses : actions/checkout@v2
12
12
- uses : actions/setup-node@v1
13
13
with :
14
- node-version : 10
14
+ node-version : ' 10.x '
15
15
registry-url : https://registry.npmjs.org/
16
16
- run : npm ci
17
17
- run : npm publish --access public
18
18
env :
19
19
NODE_AUTH_TOKEN : ${{secrets.NODE_AUTH_TOKEN}}
20
20
21
- publish-gpr :
22
- runs-on : ubuntu-18.04
23
- steps :
24
- - uses : actions/checkout@v2
25
21
- uses : actions/setup-node@v1
26
22
with :
27
- node-version : 10
23
+ node-version : ' 10.x '
28
24
registry-url : https://npm.pkg.github.com/
29
- - run : npm ci
30
25
- run : npm publish --access public
31
26
env :
32
27
NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments