56
56
id : node_modules
57
57
with :
58
58
path : " **/node_modules"
59
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
59
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
60
60
- name : Ensure clean build directory
61
61
run : rm -rf build
62
62
- run : yarn install --frozen-lockfile
80
80
id : node_modules
81
81
with :
82
82
path : " **/node_modules"
83
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
83
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
84
84
- name : Ensure clean build directory
85
85
run : rm -rf build
86
86
- run : yarn install --frozen-lockfile
@@ -106,7 +106,7 @@ jobs:
106
106
id : node_modules
107
107
with :
108
108
path : " **/node_modules"
109
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
109
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
110
110
- name : Ensure clean build directory
111
111
run : rm -rf build
112
112
- run : yarn install --frozen-lockfile
@@ -153,16 +153,20 @@ jobs:
153
153
with :
154
154
node-version-file : ' .nvmrc'
155
155
cache : yarn
156
- cache-dependency-path : yarn.lock
156
+ cache-dependency-path : |
157
+ yarn.lock
158
+ compiler/yarn.lock
157
159
- name : Restore cached node_modules
158
160
uses : actions/cache@v4
159
161
id : node_modules
160
162
with :
161
163
path : " **/node_modules"
162
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
164
+ key : runtime-and-compiler- node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/ yarn.lock') }}
163
165
- name : Ensure clean build directory
164
166
run : rm -rf build
165
167
- run : yarn install --frozen-lockfile
168
+ - run : yarn install --frozen-lockfile
169
+ working-directory : compiler
166
170
- run : yarn test ${{ matrix.params }} --ci --shard=${{ matrix.shard }}
167
171
168
172
# ----- BUILD -----
@@ -193,7 +197,7 @@ jobs:
193
197
id : node_modules
194
198
with :
195
199
path : " **/node_modules"
196
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
200
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
197
201
- name : Ensure clean build directory
198
202
run : rm -rf build
199
203
- run : yarn install --frozen-lockfile
@@ -261,16 +265,20 @@ jobs:
261
265
with :
262
266
node-version-file : ' .nvmrc'
263
267
cache : yarn
264
- cache-dependency-path : yarn.lock
268
+ cache-dependency-path : |
269
+ yarn.lock
270
+ compiler/yarn.lock
265
271
- name : Restore cached node_modules
266
272
uses : actions/cache@v4
267
273
id : node_modules
268
274
with :
269
275
path : " **/node_modules"
270
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
276
+ key : runtime-and-compiler- node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/ yarn.lock') }}
271
277
- name : Ensure clean build directory
272
278
run : rm -rf build
273
279
- run : yarn install --frozen-lockfile
280
+ - run : yarn install --frozen-lockfile
281
+ working-directory : compiler
274
282
- name : Restore archived build
275
283
uses : actions/download-artifact@v4
276
284
with :
@@ -299,7 +307,7 @@ jobs:
299
307
id : node_modules
300
308
with :
301
309
path : " **/node_modules"
302
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
310
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
303
311
- name : Ensure clean build directory
304
312
run : rm -rf build
305
313
- run : yarn install --frozen-lockfile
@@ -346,7 +354,7 @@ jobs:
346
354
id : node_modules
347
355
with :
348
356
path : " **/node_modules"
349
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
357
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
350
358
- name : Ensure clean build directory
351
359
run : rm -rf build
352
360
- run : yarn install --frozen-lockfile
@@ -381,7 +389,7 @@ jobs:
381
389
id : node_modules
382
390
with :
383
391
path : " **/node_modules"
384
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
392
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
385
393
- name : Ensure clean build directory
386
394
run : rm -rf build
387
395
- run : yarn install --frozen-lockfile
@@ -413,7 +421,7 @@ jobs:
413
421
id : node_modules
414
422
with :
415
423
path : " **/node_modules"
416
- key : fixtures_dom-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
424
+ key : fixtures_dom-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
417
425
- name : Ensure clean build directory
418
426
run : rm -rf build
419
427
- run : yarn install --frozen-lockfile
@@ -456,7 +464,7 @@ jobs:
456
464
id : node_modules
457
465
with :
458
466
path : " **/node_modules"
459
- key : fixtures_flight-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
467
+ key : fixtures_flight-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
460
468
- name : Ensure clean build directory
461
469
run : rm -rf build
462
470
- run : yarn install --frozen-lockfile
@@ -518,7 +526,7 @@ jobs:
518
526
id : node_modules
519
527
with :
520
528
path : " **/node_modules"
521
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
529
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
522
530
- name : Ensure clean build directory
523
531
run : rm -rf build
524
532
- run : yarn install --frozen-lockfile
@@ -569,7 +577,7 @@ jobs:
569
577
id : node_modules
570
578
with :
571
579
path : " **/node_modules"
572
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
580
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
573
581
- name : Ensure clean build directory
574
582
run : rm -rf build
575
583
- run : yarn install --frozen-lockfile
@@ -606,7 +614,7 @@ jobs:
606
614
id : node_modules
607
615
with :
608
616
path : " **/node_modules"
609
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
617
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
610
618
- name : Ensure clean build directory
611
619
run : rm -rf build
612
620
- run : yarn install --frozen-lockfile
0 commit comments