53
with:
54
path: "**/node_modules"
55
key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
56
+ - name: Ensure clean build directory
57
+ run: rm -rf build
58
- run: yarn install --frozen-lockfile
59
- run: node ./scripts/tasks/flow-ci ${{ matrix.flow_inline_config_shortname }}
60
75
with:
76
path: "**/node_modules"
77
key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
78
+ - name: Ensure clean build directory
79
+ run: rm -rf build
80
- run: yarn install --frozen-lockfile
81
- run: |
82
yarn generate-inline-fizz-runtime
99
with:
100
path: "**/node_modules"
101
key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
102
+ - name: Ensure clean build directory
103
+ run: rm -rf build
104
- run: yarn install --frozen-lockfile
105
- run: yarn flags
106
150
with:
151
path: "**/node_modules"
152
key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
153
+ - name: Ensure clean build directory
154
+ run: rm -rf build
155
- run: yarn install --frozen-lockfile
156
- run: yarn test ${{ matrix.params }} --ci --shard=${{ matrix.shard }}
157
181
with:
182
path: "**/node_modules"
183
key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
184
+ - name: Ensure clean build directory
185
+ run: rm -rf build
186
- run: yarn install --frozen-lockfile
187
- run: yarn build --index=${{ matrix.worker_id }} --total=20 --r=${{ matrix.release_channel }} --ci
188
env:
253
with:
254
path: "**/node_modules"
255
key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
256
+ - name: Ensure clean build directory
257
+ run: rm -rf build
258
- run: yarn install --frozen-lockfile
259
- name: Restore archived build
260
uses: actions/download-artifact@v4
283
with:
284
path: "**/node_modules"
285
key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
286
+ - name: Ensure clean build directory
287
+ run: rm -rf build
288
- run: yarn install --frozen-lockfile
289
- name: Restore archived build
290
uses: actions/download-artifact@v4
328
with:
329
path: "**/node_modules"
330
key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
331
+ - name: Ensure clean build directory
332
+ run: rm -rf build
333
- run: yarn install --frozen-lockfile
334
- name: Restore archived build
335
uses: actions/download-artifact@v4
361
with:
362
path: "**/node_modules"
363
key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
364
+ - name: Ensure clean build directory
365
+ run: rm -rf build
366
- run: yarn install --frozen-lockfile
367
- name: Restore archived build
368
uses: actions/download-artifact@v4
391
with:
392
path: "**/node_modules"
393
key: fixtures_dom-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
394
+ - name: Ensure clean build directory
395
+ run: rm -rf build
396
- run: yarn install --frozen-lockfile
397
- run: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
398
working-directory: fixtures/dom
433
with:
434
path: "**/node_modules"
435
key: fixtures_flight-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
436
+ - name: Ensure clean build directory
437
+ run: rm -rf build
438
- run: yarn install --frozen-lockfile
439
- name: Restore archived build
440
uses: actions/download-artifact@v4
491
with:
492
path: "**/node_modules"
493
key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
494
+ - name: Ensure clean build directory
495
+ run: rm -rf build
496
- run: yarn install --frozen-lockfile
497
- name: Restore archived build
498
uses: actions/download-artifact@v4
539
with:
540
path: "**/node_modules"
541
key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
542
+ - name: Ensure clean build directory
543
+ run: rm -rf build
544
- run: yarn install --frozen-lockfile
545
- name: Restore archived build
546
uses: actions/download-artifact@v4
573
with:
574
path: "**/node_modules"
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
578
- run: yarn install --frozen-lockfile
579
- run: yarn install --frozen-lockfile
580
working-directory: scripts/release
614
with:
615
path: "**/node_modules"
616
key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
617
+ - name: Ensure clean build directory
618
+ run: rm -rf build
619
- run: yarn install --frozen-lockfile
620
- name: Restore archived build for PR
621
uses: actions/download-artifact@v4