File tree Expand file tree Collapse file tree 4 files changed +4
-12
lines changed
Expand file tree Collapse file tree 4 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 1616 - uses : actions/setup-node@v2
1717 with :
1818 node-version : 14
19- - uses : actions/cache@v2
20- with :
21- path : ~/.npm
22- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
23- restore-keys : |
24- ${{ runner.os }}-node-
19+ cache : npm
2520 - run : npm ci
2621 - run : npm run build
2722 - run : npx semantic-release --debug
Original file line number Diff line number Diff line change 2424 uses : actions/setup-node@v2
2525 with :
2626 node-version : " ${{ matrix.node_version }}"
27- - uses : actions/cache@v2
28- with :
29- path : ~/.npm
30- key : " ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}"
31- restore-keys : |
32- ${{ runner.os }}-node-
27+ cache : npm
3328 - name : Install
3429 run : npm ci
3530 - name : Test
Original file line number Diff line number Diff line change 1111 - uses : actions/setup-node@v2
1212 with :
1313 version : 14
14+ cache : npm
1415 - run : npm ci
1516 - run : " npm run lint:fix"
1617
Original file line number Diff line number Diff line change 2222 - uses : actions/setup-node@v2
2323 with :
2424 node-version : 14
25+ cache : npm
2526
2627 # try checking out routes-update branch. Ignore error if it does not exist
2728 - run : git checkout routes-update || true
You can’t perform that action at this time.
0 commit comments