@@ -50,13 +50,13 @@ jobs:
5050 with :
5151 node-version-file : ' .nvmrc'
5252 cache : yarn
53- cache-dependency-path : yarn.lock
53+ cache-dependency-path : ' **/ yarn.lock'
5454 - name : Restore cached node_modules
5555 uses : actions/cache@v4
5656 id : node_modules
5757 with :
5858 path : " **/node_modules"
59- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
59+ key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
6060 - name : Ensure clean build directory
6161 run : rm -rf build
6262 - run : yarn install --frozen-lockfile
@@ -74,16 +74,18 @@ jobs:
7474 with :
7575 node-version-file : ' .nvmrc'
7676 cache : yarn
77- cache-dependency-path : yarn.lock
77+ cache-dependency-path : ' **/ yarn.lock'
7878 - name : Restore cached node_modules
7979 uses : actions/cache@v4
8080 id : node_modules
8181 with :
8282 path : " **/node_modules"
83- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
83+ key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
8484 - name : Ensure clean build directory
8585 run : rm -rf build
8686 - run : yarn install --frozen-lockfile
87+ - run : yarn install --frozen-lockfile
88+ working-directory : compiler
8789 - run : |
8890 yarn generate-inline-fizz-runtime
8991 git diff --quiet || (echo "There was a change to the Fizz runtime. Run `yarn generate-inline-fizz-runtime` and check in the result." && false)
@@ -100,16 +102,18 @@ jobs:
100102 with :
101103 node-version-file : ' .nvmrc'
102104 cache : yarn
103- cache-dependency-path : yarn.lock
105+ cache-dependency-path : ' **/ yarn.lock'
104106 - name : Restore cached node_modules
105107 uses : actions/cache@v4
106108 id : node_modules
107109 with :
108110 path : " **/node_modules"
109- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
111+ key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
110112 - name : Ensure clean build directory
111113 run : rm -rf build
112114 - run : yarn install --frozen-lockfile
115+ - run : yarn install --frozen-lockfile
116+ working-directory : compiler
113117 - run : yarn flags
114118
115119 # ----- TESTS -----
@@ -153,16 +157,18 @@ jobs:
153157 with :
154158 node-version-file : ' .nvmrc'
155159 cache : yarn
156- cache-dependency-path : yarn.lock
160+ cache-dependency-path : ' **/ yarn.lock'
157161 - name : Restore cached node_modules
158162 uses : actions/cache@v4
159163 id : node_modules
160164 with :
161165 path : " **/node_modules"
162- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
166+ key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
163167 - name : Ensure clean build directory
164168 run : rm -rf build
165169 - run : yarn install --frozen-lockfile
170+ - run : yarn install --frozen-lockfile
171+ working-directory : compiler
166172 - run : yarn test ${{ matrix.params }} --ci --shard=${{ matrix.shard }}
167173
168174 # ----- BUILD -----
@@ -183,7 +189,7 @@ jobs:
183189 with :
184190 node-version-file : ' .nvmrc'
185191 cache : yarn
186- cache-dependency-path : yarn.lock
192+ cache-dependency-path : ' **/ yarn.lock'
187193 - uses : actions/setup-java@v4
188194 with :
189195 distribution : temurin
@@ -193,10 +199,12 @@ jobs:
193199 id : node_modules
194200 with :
195201 path : " **/node_modules"
196- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
202+ key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
197203 - name : Ensure clean build directory
198204 run : rm -rf build
199205 - run : yarn install --frozen-lockfile
206+ - run : yarn install --frozen-lockfile
207+ working-directory : compiler
200208 - run : yarn build --index=${{ matrix.worker_id }} --total=20 --r=${{ matrix.release_channel }} --ci
201209 env :
202210 CI : github
@@ -261,16 +269,18 @@ jobs:
261269 with :
262270 node-version-file : ' .nvmrc'
263271 cache : yarn
264- cache-dependency-path : yarn.lock
272+ cache-dependency-path : ' **/ yarn.lock'
265273 - name : Restore cached node_modules
266274 uses : actions/cache@v4
267275 id : node_modules
268276 with :
269277 path : " **/node_modules"
270- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
278+ key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
271279 - name : Ensure clean build directory
272280 run : rm -rf build
273281 - run : yarn install --frozen-lockfile
282+ - run : yarn install --frozen-lockfile
283+ working-directory : compiler
274284 - name : Restore archived build
275285 uses : actions/download-artifact@v4
276286 with :
@@ -293,16 +303,18 @@ jobs:
293303 with :
294304 node-version-file : ' .nvmrc'
295305 cache : yarn
296- cache-dependency-path : yarn.lock
306+ cache-dependency-path : ' **/ yarn.lock'
297307 - name : Restore cached node_modules
298308 uses : actions/cache@v4
299309 id : node_modules
300310 with :
301311 path : " **/node_modules"
302- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
312+ key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
303313 - name : Ensure clean build directory
304314 run : rm -rf build
305315 - run : yarn install --frozen-lockfile
316+ - run : yarn install --frozen-lockfile
317+ working-directory : compiler
306318 - name : Restore archived build
307319 uses : actions/download-artifact@v4
308320 with :
@@ -340,16 +352,18 @@ jobs:
340352 with :
341353 node-version-file : ' .nvmrc'
342354 cache : yarn
343- cache-dependency-path : yarn.lock
355+ cache-dependency-path : ' **/ yarn.lock'
344356 - name : Restore cached node_modules
345357 uses : actions/cache@v4
346358 id : node_modules
347359 with :
348360 path : " **/node_modules"
349- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
361+ key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
350362 - name : Ensure clean build directory
351363 run : rm -rf build
352364 - run : yarn install --frozen-lockfile
365+ - run : yarn install --frozen-lockfile
366+ working-directory : compiler
353367 - name : Restore archived build
354368 uses : actions/download-artifact@v4
355369 with :
@@ -375,16 +389,18 @@ jobs:
375389 with :
376390 node-version-file : ' .nvmrc'
377391 cache : yarn
378- cache-dependency-path : yarn.lock
392+ cache-dependency-path : ' **/ yarn.lock'
379393 - name : Restore cached node_modules
380394 uses : actions/cache@v4
381395 id : node_modules
382396 with :
383397 path : " **/node_modules"
384- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
398+ key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
385399 - name : Ensure clean build directory
386400 run : rm -rf build
387401 - run : yarn install --frozen-lockfile
402+ - run : yarn install --frozen-lockfile
403+ working-directory : compiler
388404 - name : Restore archived build
389405 uses : actions/download-artifact@v4
390406 with :
@@ -407,13 +423,13 @@ jobs:
407423 with :
408424 node-version-file : ' .nvmrc'
409425 cache : yarn
410- cache-dependency-path : yarn.lock
426+ cache-dependency-path : ' fixtures/dom/ yarn.lock'
411427 - name : Restore cached node_modules
412428 uses : actions/cache@v4
413429 id : node_modules
414430 with :
415431 path : " **/node_modules"
416- key : fixtures_dom-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
432+ key : fixtures_dom-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('fixtures/dom/ yarn.lock') }}
417433 - name : Ensure clean build directory
418434 run : rm -rf build
419435 - run : yarn install --frozen-lockfile
@@ -447,7 +463,7 @@ jobs:
447463 with :
448464 node-version-file : ' .nvmrc'
449465 cache : yarn
450- cache-dependency-path : yarn.lock
466+ cache-dependency-path : ' **/ yarn.lock'
451467 # Fixture copies some built packages from the workroot after install.
452468 # That means dependencies of the built packages are not installed.
453469 # We need to install dependencies of the workroot to fulfill all dependency constraints
@@ -456,10 +472,12 @@ jobs:
456472 id : node_modules
457473 with :
458474 path : " **/node_modules"
459- key : fixtures_flight-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
475+ key : fixtures_flight-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
460476 - name : Ensure clean build directory
461477 run : rm -rf build
462478 - run : yarn install --frozen-lockfile
479+ - run : yarn install --frozen-lockfile
480+ working-directory : compiler
463481 - name : Restore archived build
464482 uses : actions/download-artifact@v4
465483 with :
@@ -512,16 +530,18 @@ jobs:
512530 with :
513531 node-version-file : ' .nvmrc'
514532 cache : yarn
515- cache-dependency-path : yarn.lock
533+ cache-dependency-path : ' **/ yarn.lock'
516534 - name : Restore cached node_modules
517535 uses : actions/cache@v4
518536 id : node_modules
519537 with :
520538 path : " **/node_modules"
521- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
539+ key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
522540 - name : Ensure clean build directory
523541 run : rm -rf build
524542 - run : yarn install --frozen-lockfile
543+ - run : yarn install --frozen-lockfile
544+ working-directory : compiler
525545 - name : Restore archived build
526546 uses : actions/download-artifact@v4
527547 with :
@@ -563,16 +583,18 @@ jobs:
563583 with :
564584 node-version-file : ' .nvmrc'
565585 cache : yarn
566- cache-dependency-path : yarn.lock
586+ cache-dependency-path : ' **/ yarn.lock'
567587 - name : Restore cached node_modules
568588 uses : actions/cache@v4
569589 id : node_modules
570590 with :
571591 path : " **/node_modules"
572- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
592+ key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
573593 - name : Ensure clean build directory
574594 run : rm -rf build
575595 - run : yarn install --frozen-lockfile
596+ - run : yarn install --frozen-lockfile
597+ working-directory : compiler
576598 - name : Restore archived build
577599 uses : actions/download-artifact@v4
578600 with :
@@ -600,13 +622,13 @@ jobs:
600622 with :
601623 node-version-file : ' .nvmrc'
602624 cache : yarn
603- cache-dependency-path : yarn.lock
625+ cache-dependency-path : ' **/ yarn.lock'
604626 - name : Restore cached node_modules
605627 uses : actions/cache@v4
606628 id : node_modules
607629 with :
608630 path : " **/node_modules"
609- key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
631+ key : runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/ yarn.lock') }}
610632 - name : Ensure clean build directory
611633 run : rm -rf build
612634 - run : yarn install --frozen-lockfile
@@ -626,6 +648,8 @@ jobs:
626648 - name : Ensure clean build directory
627649 run : rm -rf build
628650 - run : yarn install --frozen-lockfile
651+ - run : yarn install --frozen-lockfile
652+ working-directory : compiler
629653 - name : Restore archived build for PR
630654 uses : actions/download-artifact@v4
631655 with :
0 commit comments