File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,12 @@ jobs:
1313 matrix :
1414 node-version : [20.x]
1515 steps :
16- - name : Find yarn cache
17- id : find-yarn-cache
18- run : echo "::set-output name=dir::$(yarn cache dir)"
1916 - name : git checkout
2017 uses : actions/checkout@v4
21- - name : Cache yarn dependencies
18+ - name : yarn cache
2219 uses : actions/cache@v4
2320 with :
24- path : ${{steps.find- yarn- cache.outputs.dir}}
21+ path : ~/. yarn/berry/ cache
2522 key : ${{runner.os}}-node${{matrix.node-version}}-yarn-${{hashFiles('**/yarn.lock')}}
2623 restore-keys : ${{runner.os}}-node${{matrix.node-version}}-yarn-
2724 - name : Set up Node.js v${{matrix.node-version}}
@@ -36,15 +33,12 @@ jobs:
3633 runs-on : ubuntu-latest
3734 needs : build-and-test
3835 steps :
39- - name : Find yarn cache
40- id : find-yarn-cache
41- run : echo "::set-output name=dir::$(yarn cache dir)"
4236 - name : git checkout
4337 uses : actions/checkout@v4
44- - name : Cache yarn dependencies
38+ - name : yarn cache
4539 uses : actions/cache@v4
4640 with :
47- path : ${{steps.find- yarn- cache.outputs.dir}}
41+ path : ~/. yarn/berry/ cache
4842 key : ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-${{hashFiles('**/yarn.lock')}}
4943 restore-keys : ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-
5044 - name : Set up Node.js
You can’t perform that action at this time.
0 commit comments