File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,17 @@ jobs:
2929 # https://github.com/actions/cache/blob/master/examples.md#node---yarn
3030 - name : Get yarn cache directory path
3131 id : yarn-cache-dir-path
32- run : echo "::set-output name=dir::$(yarn cache dir)"
33- - uses : actions/cache@v2
34- id : yarn-cache
32+ run : echo "::set-output name=dir::./.yarn/cache"
33+ - name : Cache Yarn
34+ uses : actions/cache@v2
35+ id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
3536 with :
3637 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
37- key : ${{ runner.os }}-yarn -${{ hashFiles('**/yarn.lock') }}
38+ key : ${{ runner.os }}-yarn3 -${{ hashFiles('**/yarn.lock') }}
3839 restore-keys : |
39- ${{ runner.os }}-yarn -
40+ ${{ runner.os }}-yarn3 -
4041 - name : Install dependencies
41- run : yarn install --frozen-lockfile
42+ run : yarn install --immutable
4243 - name : Ensure linted
4344 run : yarn run ensure-linted
4445 - name : Test
You can’t perform that action at this time.
0 commit comments