File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1818 test :
1919 runs-on : ubuntu-latest
2020 steps :
21+ - uses : actions/cache@v2
22+ with :
23+ path : ~/.npm
24+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
25+ restore-keys : |
26+ ${{ runner.os }}-node-
2127 - uses : actions/checkout@v2
2228 - run : npm i
2329 - run : npm run lint
Original file line number Diff line number Diff line change 1818 test :
1919 runs-on : ubuntu-latest
2020 steps :
21+ - uses : actions/cache@v2
22+ with :
23+ path : ~/.npm
24+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
25+ restore-keys : |
26+ ${{ runner.os }}-node-
2127 - uses : actions/checkout@v2
2228 - run : |
2329 npm i
Original file line number Diff line number Diff line change 2222 build :
2323 runs-on : ubuntu-latest
2424 steps :
25+ - uses : actions/cache@v2
26+ with :
27+ path : ~/.npm
28+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
29+ restore-keys : |
30+ ${{ runner.os }}-node-
2531 - uses : actions/checkout@v2
2632 - name : Test
2733 run : |
You can’t perform that action at this time.
0 commit comments