File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -17,19 +17,14 @@ jobs:
1717 with :
1818 node-version : ${{ matrix.node }}
1919
20- - name : Get yarn cache directory path
21- id : yarn-cache-path
22- run : echo "::set-output name=dir::$(yarn cache dir)"
23-
24- - uses : actions/cache@master
25- id : yarn-cache
20+ - name : Cache Dependencies
21+ uses : actions/cache@v2
2622 with :
27- path : ${{ steps.yarn-cache-path.outputs.dir }}
28- key : yarn-${{ hashFiles('**/yarn.lock') }}
29- restore-keys : yarn-
23+ path : ./node_modules
24+ key : ${{ runner.os }}-${{ matrix.node }}-modules-${{ hashFiles('**/yarn.lock') }}
3025
31- - name : Install dependencies
32- run : yarn install
26+ - name : Install Dependencies & Build
27+ run : yarn install --frozen-lockfile
3328
3429 - name : Lint and Test with ${{ matrix.node }}
3530 env :
You can’t perform that action at this time.
0 commit comments