File tree Expand file tree Collapse file tree 4 files changed +17924
-12393
lines changed Expand file tree Collapse file tree 4 files changed +17924
-12393
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@v2
1515 - name : Use Node.js
16- uses : actions/setup-node@v2
16+ uses : actions/setup-node@v1
1717 with :
18- node-version : ' 12 '
18+ node-version : ' 10.14 '
1919 - name : Cache Node.js modules
2020 uses : actions/cache@v2
2121 with :
2222 path : ~/.npm
23- key : ${{ runner.os }}-node-${{ hashFiles('**/yarn. lock') }}
23+ key : ${{ runner.os }}-node-${{ hashFiles('**/package- lock.json ') }}
2424 restore-keys : |
2525 ${{ runner.os }}-node-
26- - run : yarn install
26+ - run : npm ci
2727 - run : ./scripts/before_script.sh
2828 env :
2929 CI : true
Original file line number Diff line number Diff line change 77 runs-on : ubuntu-18.04
88 steps :
99 - uses : actions/checkout@v2
10- - uses : actions/setup-node@v2
10+ - uses : actions/setup-node@v1
1111 with :
12- node-version : ' 12 '
12+ node-version : 12
1313 registry-url : https://registry.npmjs.org/
1414 - name : Cache Node.js modules
1515 uses : actions/cache@v2
1616 with :
1717 path : ~/.npm
18- key : ${{ runner.os }}-node-${{ hashFiles('**/yarn. lock') }}
18+ key : ${{ runner.os }}-node-${{ hashFiles('**/package- lock.json ') }}
1919 restore-keys : |
2020 ${{ runner.os }}-node-
21- - run : yarn install
22- - run : yarn publish
21+ - run : npm ci
22+ - run : npm publish
2323 env :
2424 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments