File tree 1 file changed +1
-15
lines changed
1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 8
8
types : [created]
9
9
10
10
jobs :
11
- build :
12
- runs-on : ubuntu-latest
13
- steps :
14
- - uses : actions/checkout@v2
15
- - uses : actions/setup-node@v2
16
- with :
17
- node-version : 12
18
- - run : npm ci
19
- - run : npm test
20
-
21
11
publish-npm :
22
- needs : build
23
12
runs-on : ubuntu-latest
24
13
steps :
25
14
- uses : actions/checkout@v2
26
15
- uses : actions/setup-node@v2
27
16
with :
28
17
node-version : 12
29
18
registry-url : https://registry.npmjs.org/
30
- - run : npm ci
31
19
- run : npm publish
32
20
env :
33
- NODE_AUTH_TOKEN : ${{secrets.npm_token }}
21
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN }}
34
22
35
23
publish-gpr :
36
- needs : build
37
24
runs-on : ubuntu-latest
38
25
permissions :
39
26
contents : read
44
31
with :
45
32
node-version : 12
46
33
registry-url : https://npm.pkg.github.com/
47
- - run : npm ci
48
34
- run : npm publish
49
35
env :
50
36
NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments