File tree 1 file changed +11
-13
lines changed
1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -12,38 +12,36 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v2
15
- - uses : actions/setup-node@v1
15
+ - uses : actions/setup-node@v2
16
16
with :
17
- node-version : ' 12.x '
18
- - run : yarn install --frozen-lockfile
17
+ node-version : 12
18
+ - run : yarn
19
19
- run : yarn build
20
20
21
21
publish-npm :
22
22
needs : build
23
23
runs-on : ubuntu-latest
24
24
steps :
25
25
- uses : actions/checkout@v2
26
- - uses : actions/setup-node@v1
26
+ - uses : actions/setup-node@v2
27
27
with :
28
- node-version : ' 12.x '
28
+ node-version : 12
29
29
registry-url : https://registry.npmjs.org/
30
- always-auth : true
31
- - run : yarn install --frozen-lockfile
30
+ - run : yarn
32
31
- run : yarn publish
33
32
env :
34
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
33
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
35
34
36
35
publish-gpr :
37
36
needs : build
38
37
runs-on : ubuntu-latest
39
38
steps :
40
39
- uses : actions/checkout@v2
41
- - uses : actions/setup-node@v1
40
+ - uses : actions/setup-node@v2
42
41
with :
43
- node-version : ' 12.x '
42
+ node-version : 12
44
43
registry-url : https://npm.pkg.github.com/
45
- always-auth : true
46
- - run : yarn install --frozen-lockfile
44
+ - run : yarn
47
45
- run : yarn publish
48
46
env :
49
- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
+ NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments