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 -----
@@ -183,7 +187,9 @@ jobs:
183
187
with :
184
188
node-version-file : ' .nvmrc'
185
189
cache : yarn
186
- cache-dependency-path : yarn.lock
190
+ cache-dependency-path : |
191
+ yarn.lock
192
+ compiler/yarn.lock
187
193
- uses : actions/setup-java@v4
188
194
with :
189
195
distribution : temurin
@@ -193,10 +199,12 @@ jobs:
193
199
id : node_modules
194
200
with :
195
201
path : " **/node_modules"
196
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
202
+ key : runtime-and-compiler- node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/ yarn.lock') }}
197
203
- name : Ensure clean build directory
198
204
run : rm -rf build
199
205
- run : yarn install --frozen-lockfile
206
+ - run : yarn install --frozen-lockfile
207
+ working-directory : compiler
200
208
- run : yarn build --index=${{ matrix.worker_id }} --total=20 --r=${{ matrix.release_channel }} --ci
201
209
env :
202
210
CI : github
@@ -261,16 +269,20 @@ jobs:
261
269
with :
262
270
node-version-file : ' .nvmrc'
263
271
cache : yarn
264
- cache-dependency-path : yarn.lock
272
+ cache-dependency-path : |
273
+ yarn.lock
274
+ compiler/yarn.lock
265
275
- name : Restore cached node_modules
266
276
uses : actions/cache@v4
267
277
id : node_modules
268
278
with :
269
279
path : " **/node_modules"
270
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
280
+ key : runtime-and-compiler- node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/ yarn.lock') }}
271
281
- name : Ensure clean build directory
272
282
run : rm -rf build
273
283
- run : yarn install --frozen-lockfile
284
+ - run : yarn install --frozen-lockfile
285
+ working-directory : compiler
274
286
- name : Restore archived build
275
287
uses : actions/download-artifact@v4
276
288
with :
@@ -299,7 +311,7 @@ jobs:
299
311
id : node_modules
300
312
with :
301
313
path : " **/node_modules"
302
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
314
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
303
315
- name : Ensure clean build directory
304
316
run : rm -rf build
305
317
- run : yarn install --frozen-lockfile
@@ -346,7 +358,7 @@ jobs:
346
358
id : node_modules
347
359
with :
348
360
path : " **/node_modules"
349
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
361
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
350
362
- name : Ensure clean build directory
351
363
run : rm -rf build
352
364
- run : yarn install --frozen-lockfile
@@ -381,7 +393,7 @@ jobs:
381
393
id : node_modules
382
394
with :
383
395
path : " **/node_modules"
384
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
396
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
385
397
- name : Ensure clean build directory
386
398
run : rm -rf build
387
399
- run : yarn install --frozen-lockfile
@@ -413,7 +425,7 @@ jobs:
413
425
id : node_modules
414
426
with :
415
427
path : " **/node_modules"
416
- key : fixtures_dom-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
428
+ key : fixtures_dom-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
417
429
- name : Ensure clean build directory
418
430
run : rm -rf build
419
431
- run : yarn install --frozen-lockfile
@@ -456,7 +468,7 @@ jobs:
456
468
id : node_modules
457
469
with :
458
470
path : " **/node_modules"
459
- key : fixtures_flight-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
471
+ key : fixtures_flight-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
460
472
- name : Ensure clean build directory
461
473
run : rm -rf build
462
474
- run : yarn install --frozen-lockfile
@@ -518,7 +530,7 @@ jobs:
518
530
id : node_modules
519
531
with :
520
532
path : " **/node_modules"
521
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
533
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
522
534
- name : Ensure clean build directory
523
535
run : rm -rf build
524
536
- run : yarn install --frozen-lockfile
@@ -569,7 +581,7 @@ jobs:
569
581
id : node_modules
570
582
with :
571
583
path : " **/node_modules"
572
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
584
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
573
585
- name : Ensure clean build directory
574
586
run : rm -rf build
575
587
- run : yarn install --frozen-lockfile
@@ -606,7 +618,7 @@ jobs:
606
618
id : node_modules
607
619
with :
608
620
path : " **/node_modules"
609
- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
621
+ key : runtime-node_modules-v3- ${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
610
622
- name : Ensure clean build directory
611
623
run : rm -rf build
612
624
- run : yarn install --frozen-lockfile
0 commit comments