|
53 | 53 | with: |
54 | 54 | path: "**/node_modules" |
55 | 55 | key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 56 | + - name: Ensure clean build directory |
| 57 | + run: rm -rf build |
56 | 58 | - run: yarn install --frozen-lockfile |
57 | 59 | - run: node ./scripts/tasks/flow-ci ${{ matrix.flow_inline_config_shortname }} |
58 | 60 |
|
|
73 | 75 | with: |
74 | 76 | path: "**/node_modules" |
75 | 77 | key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 78 | + - name: Ensure clean build directory |
| 79 | + run: rm -rf build |
76 | 80 | - run: yarn install --frozen-lockfile |
77 | 81 | - run: | |
78 | 82 | yarn generate-inline-fizz-runtime |
|
95 | 99 | with: |
96 | 100 | path: "**/node_modules" |
97 | 101 | key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 102 | + - name: Ensure clean build directory |
| 103 | + run: rm -rf build |
98 | 104 | - run: yarn install --frozen-lockfile |
99 | 105 | - run: yarn flags |
100 | 106 |
|
@@ -144,6 +150,8 @@ jobs: |
144 | 150 | with: |
145 | 151 | path: "**/node_modules" |
146 | 152 | key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 153 | + - name: Ensure clean build directory |
| 154 | + run: rm -rf build |
147 | 155 | - run: yarn install --frozen-lockfile |
148 | 156 | - run: yarn test ${{ matrix.params }} --ci --shard=${{ matrix.shard }} |
149 | 157 |
|
@@ -173,6 +181,8 @@ jobs: |
173 | 181 | with: |
174 | 182 | path: "**/node_modules" |
175 | 183 | key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 184 | + - name: Ensure clean build directory |
| 185 | + run: rm -rf build |
176 | 186 | - run: yarn install --frozen-lockfile |
177 | 187 | - run: yarn build --index=${{ matrix.worker_id }} --total=20 --r=${{ matrix.release_channel }} --ci |
178 | 188 | env: |
@@ -243,6 +253,8 @@ jobs: |
243 | 253 | with: |
244 | 254 | path: "**/node_modules" |
245 | 255 | key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 256 | + - name: Ensure clean build directory |
| 257 | + run: rm -rf build |
246 | 258 | - run: yarn install --frozen-lockfile |
247 | 259 | - name: Restore archived build |
248 | 260 | uses: actions/download-artifact@v4 |
@@ -271,6 +283,8 @@ jobs: |
271 | 283 | with: |
272 | 284 | path: "**/node_modules" |
273 | 285 | key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 286 | + - name: Ensure clean build directory |
| 287 | + run: rm -rf build |
274 | 288 | - run: yarn install --frozen-lockfile |
275 | 289 | - name: Restore archived build |
276 | 290 | uses: actions/download-artifact@v4 |
@@ -314,6 +328,8 @@ jobs: |
314 | 328 | with: |
315 | 329 | path: "**/node_modules" |
316 | 330 | key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 331 | + - name: Ensure clean build directory |
| 332 | + run: rm -rf build |
317 | 333 | - run: yarn install --frozen-lockfile |
318 | 334 | - name: Restore archived build |
319 | 335 | uses: actions/download-artifact@v4 |
@@ -345,6 +361,8 @@ jobs: |
345 | 361 | with: |
346 | 362 | path: "**/node_modules" |
347 | 363 | key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 364 | + - name: Ensure clean build directory |
| 365 | + run: rm -rf build |
348 | 366 | - run: yarn install --frozen-lockfile |
349 | 367 | - name: Restore archived build |
350 | 368 | uses: actions/download-artifact@v4 |
@@ -373,6 +391,8 @@ jobs: |
373 | 391 | with: |
374 | 392 | path: "**/node_modules" |
375 | 393 | key: fixtures_dom-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 394 | + - name: Ensure clean build directory |
| 395 | + run: rm -rf build |
376 | 396 | - run: yarn install --frozen-lockfile |
377 | 397 | - run: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn |
378 | 398 | working-directory: fixtures/dom |
@@ -413,6 +433,8 @@ jobs: |
413 | 433 | with: |
414 | 434 | path: "**/node_modules" |
415 | 435 | key: fixtures_flight-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 436 | + - name: Ensure clean build directory |
| 437 | + run: rm -rf build |
416 | 438 | - run: yarn install --frozen-lockfile |
417 | 439 | - name: Restore archived build |
418 | 440 | uses: actions/download-artifact@v4 |
@@ -469,6 +491,8 @@ jobs: |
469 | 491 | with: |
470 | 492 | path: "**/node_modules" |
471 | 493 | key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 494 | + - name: Ensure clean build directory |
| 495 | + run: rm -rf build |
472 | 496 | - run: yarn install --frozen-lockfile |
473 | 497 | - name: Restore archived build |
474 | 498 | uses: actions/download-artifact@v4 |
@@ -515,6 +539,8 @@ jobs: |
515 | 539 | with: |
516 | 540 | path: "**/node_modules" |
517 | 541 | key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 542 | + - name: Ensure clean build directory |
| 543 | + run: rm -rf build |
518 | 544 | - run: yarn install --frozen-lockfile |
519 | 545 | - name: Restore archived build |
520 | 546 | uses: actions/download-artifact@v4 |
@@ -547,6 +573,8 @@ jobs: |
547 | 573 | with: |
548 | 574 | path: "**/node_modules" |
549 | 575 | key: ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }} |
| 576 | + - name: Ensure clean build directory |
| 577 | + run: rm -rf build |
550 | 578 | - run: yarn install --frozen-lockfile |
551 | 579 | - run: yarn install --frozen-lockfile |
552 | 580 | working-directory: scripts/release |
@@ -586,6 +614,8 @@ jobs: |
586 | 614 | with: |
587 | 615 | path: "**/node_modules" |
588 | 616 | key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
| 617 | + - name: Ensure clean build directory |
| 618 | + run: rm -rf build |
589 | 619 | - run: yarn install --frozen-lockfile |
590 | 620 | - name: Restore archived build for PR |
591 | 621 | uses: actions/download-artifact@v4 |
|
0 commit comments