File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 4141 node-version-file : ' .nvmrc'
4242 cache : yarn
4343 cache-dependency-path : yarn.lock
44+ - name : Warm with old cache
45+ if : steps.node_modules.outputs.cache-hit != 'true'
46+ uses : actions/cache/restore@v4
47+ with :
48+ path : |
49+ **/node_modules
50+ key : runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
51+ restore-keys : |
52+ runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
53+ runtime-node_modules-v6-
4454 - run : yarn install --frozen-lockfile
4555 if : steps.node_modules.outputs.cache-hit != 'true'
4656 - name : Save cache
7484 cache-dependency-path : |
7585 yarn.lock
7686 compiler/yarn.lock
87+ - name : Warm with old cache
88+ if : steps.node_modules.outputs.cache-hit != 'true'
89+ uses : actions/cache/restore@v4
90+ with :
91+ path : |
92+ **/node_modules
93+ key : runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
94+ restore-keys : |
95+ runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
96+ runtime-and-compiler-node_modules-v6-
7797 - run : yarn install --frozen-lockfile
7898 if : steps.node_modules.outputs.cache-hit != 'true'
7999 - run : yarn --cwd compiler install --frozen-lockfile
You can’t perform that action at this time.
0 commit comments