File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -20,30 +20,20 @@ jobs:
2020 steps :
2121 - uses : actions/checkout@v4
2222
23- - name : Restore node_modules from cache
24- id : cache
25- uses : actions/cache/restore@v4
26- with :
27- path : node_modules/
28- key : ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
29-
3023 - name : Setup Node.js
31- if : steps.cache.outputs.cache-hit != 'true'
3224 uses : actions/setup-node@v4
3325 with :
3426 node-version : ${{ vars.NODE_VERSION }}
3527 cache : yarn
3628
37- - if : steps.cache.outputs.cache-hit != 'true'
38- run : yarn install --frozen-lockfile
39-
40- - name : Save node_modules to cache
41- if : steps.cache.outputs.cache-hit != 'true'
42- uses : actions/cache/save@v4
29+ - name : Cache node_modules
30+ uses : actions/cache@v4
4331 with :
4432 path : node_modules/
4533 key : ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
4634
35+ - run : yarn install --frozen-lockfile
36+
4737 build :
4838 name : Build
4939 needs : [deps]
You can’t perform that action at this time.
0 commit comments