4545 with :
4646 path : |
4747 **/node_modules
48- key : runtime-node_modules-v6 -${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
48+ key : runtime-node_modules-v7 -${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
4949 lookup-only : true
5050 - uses : actions/setup-node@v4
5151 if : steps.node_modules.outputs.cache-hit != 'true'
5959 with :
6060 path : |
6161 **/node_modules
62- key : runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
63- restore-keys : |
64- runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
65- runtime-node_modules-v6-
62+ key : runtime-node_modules-v7-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
63+ # Don't use restore-keys here. Otherwise the cache grows indefinitely.
6664 - run : yarn install --frozen-lockfile
6765 if : steps.node_modules.outputs.cache-hit != 'true'
6866 - name : Save cache
7169 with :
7270 path : |
7371 **/node_modules
74- key : runtime-node_modules-v6 -${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
72+ key : runtime-node_modules-v7 -${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
7573
7674 runtime_compiler_node_modules_cache :
7775 name : Cache Runtime, Compiler node_modules
8684 with :
8785 path : |
8886 **/node_modules
89- key : runtime-and-compiler-node_modules-v6 -${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
87+ key : runtime-and-compiler-node_modules-v7 -${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
9088 lookup-only : true
9189 - uses : actions/setup-node@v4
9290 if : steps.node_modules.outputs.cache-hit != 'true'
@@ -102,10 +100,8 @@ jobs:
102100 with :
103101 path : |
104102 **/node_modules
105- key : runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
106- restore-keys : |
107- runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
108- runtime-and-compiler-node_modules-v6-
103+ key : runtime-and-compiler-node_modules-v7-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
104+ # Don't use restore-keys here. Otherwise the cache grows indefinitely.
109105 - run : yarn install --frozen-lockfile
110106 if : steps.node_modules.outputs.cache-hit != 'true'
111107 - run : yarn --cwd compiler install --frozen-lockfile
@@ -116,7 +112,7 @@ jobs:
116112 with :
117113 path : |
118114 **/node_modules
119- key : runtime-and-compiler-node_modules-v6 -${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
115+ key : runtime-and-compiler-node_modules-v7 -${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
120116
121117 # ----- FLOW -----
122118 discover_flow_inline_configs :
@@ -158,10 +154,8 @@ jobs:
158154 with :
159155 path : |
160156 **/node_modules
161- key : runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
162- restore-keys : |
163- runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
164- runtime-node_modules-v6-
157+ key : runtime-node_modules-v7-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
158+ # Don't use restore-keys here. Otherwise the cache grows indefinitely.
165159 - name : Ensure clean build directory
166160 run : rm -rf build
167161 - run : yarn install --frozen-lockfile
@@ -188,10 +182,8 @@ jobs:
188182 with :
189183 path : |
190184 **/node_modules
191- key : runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
192- restore-keys : |
193- runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
194- runtime-node_modules-v6-
185+ key : runtime-node_modules-v7-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
186+ # Don't use restore-keys here. Otherwise the cache grows indefinitely.
195187 - name : Ensure clean build directory
196188 run : rm -rf build
197189 - run : yarn install --frozen-lockfile
@@ -220,7 +212,7 @@ jobs:
220212 with :
221213 path : |
222214 **/node_modules
223- key : runtime-node_modules-v6 -${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
215+ key : runtime-node_modules-v7 -${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
224216 - name : Ensure clean build directory
225217 run : rm -rf build
226218 - run : yarn install --frozen-lockfile
@@ -278,10 +270,8 @@ jobs:
278270 with :
279271 path : |
280272 **/node_modules
281- key : runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
282- restore-keys : |
283- runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
284- runtime-and-compiler-node_modules-v6-
273+ key : runtime-and-compiler-node_modules-v7-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
274+ # Don't use restore-keys here. Otherwise the cache grows indefinitely.
285275 - name : Ensure clean build directory
286276 run : rm -rf build
287277 - run : yarn install --frozen-lockfile
@@ -310,7 +300,7 @@ jobs:
310300 with :
311301 path : |
312302 **/node_modules
313- key : runtime-and-compiler-node_modules-v6 -${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
303+ key : runtime-and-compiler-node_modules-v7 -${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
314304 - name : Install runtime dependencies
315305 run : yarn install --frozen-lockfile
316306 if : steps.node_modules.outputs.cache-hit != 'true'
@@ -353,10 +343,8 @@ jobs:
353343 with :
354344 path : |
355345 **/node_modules
356- key : runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
357- restore-keys : |
358- runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
359- runtime-and-compiler-node_modules-v6-
346+ key : runtime-and-compiler-node_modules-v7-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
347+ # Don't use restore-keys here. Otherwise the cache grows indefinitely.
360348 - name : Ensure clean build directory
361349 run : rm -rf build
362350 - run : yarn install --frozen-lockfile
@@ -444,10 +432,8 @@ jobs:
444432 with :
445433 path : |
446434 **/node_modules
447- key : runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
448- restore-keys : |
449- runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
450- runtime-and-compiler-node_modules-v6-
435+ key : runtime-and-compiler-node_modules-v7-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
436+ # Don't use restore-keys here. Otherwise the cache grows indefinitely.
451437 - name : Ensure clean build directory
452438 run : rm -rf build
453439 - run : yarn install --frozen-lockfile
@@ -487,10 +473,8 @@ jobs:
487473 with :
488474 path : |
489475 **/node_modules
490- key : runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
491- restore-keys : |
492- runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
493- runtime-node_modules-v6-
476+ key : runtime-node_modules-v7-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
477+ # Don't use restore-keys here. Otherwise the cache grows indefinitely.
494478 - name : Ensure clean build directory
495479 run : rm -rf build
496480 - run : yarn install --frozen-lockfile
@@ -552,10 +536,8 @@ jobs:
552536 with :
553537 path : |
554538 **/node_modules
555- key : runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
556- restore-keys : |
557- runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
558- runtime-node_modules-v6-
539+ key : runtime-node_modules-v7-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
540+ # Don't use restore-keys here. Otherwise the cache grows indefinitely.
559541 - name : Ensure clean build directory
560542 run : rm -rf build
561543 - run : yarn install --frozen-lockfile
@@ -592,10 +574,8 @@ jobs:
592574 with :
593575 path : |
594576 **/node_modules
595- key : runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
596- restore-keys : |
597- runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
598- runtime-node_modules-v6-
577+ key : runtime-node_modules-v7-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
578+ # Don't use restore-keys here. Otherwise the cache grows indefinitely.
599579 - name : Ensure clean build directory
600580 run : rm -rf build
601581 - run : yarn install --frozen-lockfile
@@ -744,10 +724,8 @@ jobs:
744724 with :
745725 path : |
746726 **/node_modules
747- key : runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
748- restore-keys : |
749- runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
750- runtime-node_modules-v6-
727+ key : runtime-node_modules-v7-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
728+ # Don't use restore-keys here. Otherwise the cache grows indefinitely.
751729 - name : Ensure clean build directory
752730 run : rm -rf build
753731 - run : yarn install --frozen-lockfile
@@ -806,10 +784,8 @@ jobs:
806784 with :
807785 path : |
808786 **/node_modules
809- key : runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
810- restore-keys : |
811- runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
812- runtime-node_modules-v6-
787+ key : runtime-node_modules-v7-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
788+ # Don't use restore-keys here. Otherwise the cache grows indefinitely.
813789 - name : Ensure clean build directory
814790 run : rm -rf build
815791 - run : yarn install --frozen-lockfile
0 commit comments