File tree Expand file tree Collapse file tree 1 file changed +10
-24
lines changed Expand file tree Collapse file tree 1 file changed +10
-24
lines changed Original file line number Diff line number Diff line change @@ -11,37 +11,23 @@ jobs:
11
11
build :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
15
- - uses : actions/setup-node@v1
14
+ - uses : actions/checkout@v3
15
+ - uses : actions/setup-node@v3
16
16
with :
17
- node-version : 12
18
- - run : npm ci
19
- - run : npm test
17
+ node-version : 16
18
+ - run : yarn install --non-interactive --frozen-lockfile
19
+ - run : yarn test
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@v3
27
27
with :
28
- node-version : 12
28
+ node-version : 16
29
29
registry-url : https://registry.npmjs.org/
30
- - run : npm ci
31
- - run : npm publish --access=restricted
32
- env :
33
- NODE_AUTH_TOKEN : ${{secrets.npm_token}}
34
-
35
- publish-gpr :
36
- needs : build
37
- runs-on : ubuntu-latest
38
- steps :
39
- - uses : actions/checkout@v2
40
- - uses : actions/setup-node@v1
41
- with :
42
- node-version : 12
43
- registry-url : https://npm.pkg.github.com/
44
- - run : npm ci
45
- - run : npm publish --access=restricted
30
+ - run : yarn install --non-interactive --frozen-lockfile
31
+ - run : npm publish --access=public
46
32
env :
47
- NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN }}
33
+ NODE_AUTH_TOKEN : ${{secrets.npm_token }}
You can’t perform that action at this time.
0 commit comments