File tree 4 files changed +17924
-12393
lines changed 4 files changed +17924
-12393
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ jobs:
13
13
steps :
14
14
- uses : actions/checkout@v2
15
15
- name : Use Node.js
16
- uses : actions/setup-node@v2
16
+ uses : actions/setup-node@v1
17
17
with :
18
- node-version : ' 12 '
18
+ node-version : ' 10.14 '
19
19
- name : Cache Node.js modules
20
20
uses : actions/cache@v2
21
21
with :
22
22
path : ~/.npm
23
- key : ${{ runner.os }}-node-${{ hashFiles('**/yarn. lock') }}
23
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package- lock.json ') }}
24
24
restore-keys : |
25
25
${{ runner.os }}-node-
26
- - run : yarn install
26
+ - run : npm ci
27
27
- run : ./scripts/before_script.sh
28
28
env :
29
29
CI : true
Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-18.04
8
8
steps :
9
9
- uses : actions/checkout@v2
10
- - uses : actions/setup-node@v2
10
+ - uses : actions/setup-node@v1
11
11
with :
12
- node-version : ' 12 '
12
+ node-version : 12
13
13
registry-url : https://registry.npmjs.org/
14
14
- name : Cache Node.js modules
15
15
uses : actions/cache@v2
16
16
with :
17
17
path : ~/.npm
18
- key : ${{ runner.os }}-node-${{ hashFiles('**/yarn. lock') }}
18
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package- lock.json ') }}
19
19
restore-keys : |
20
20
${{ runner.os }}-node-
21
- - run : yarn install
22
- - run : yarn publish
21
+ - run : npm ci
22
+ - run : npm publish
23
23
env :
24
24
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments