@samitouri / QOS-React / commits / 243c0670ac

[ci] Add RELEASE_CHANNEL_stable_yarn_test_dom_fixtures to gh actions

ghstack-source-id: 53a431f9528db3f18fc205b6e67779c3d2d8c87a Pull Request resolved: https://github.com/facebook/react/pull/30358

Lauren Tan committed Jul 16, 2024 at 14:35 UTC 243c0670acbfb062750981d65649058092212e2e
1 file changed +35
.github/workflows/runtime_build_and_test.yml
+35
@@ -347,6 +347,41 @@ jobs:
347 run: ls -R build
348 - run: yarn check-release-dependencies
349
350 + RELEASE_CHANNEL_stable_yarn_test_dom_fixtures:
351 + name: Check fixtures DOM (stable)
352 + needs: build_and_lint
353 + runs-on: ubuntu-latest
354 + steps:
355 + - uses: actions/checkout@v4
356 + - uses: actions/setup-node@v4
357 + with:
358 + node-version: 18.20.1
359 + cache: yarn
360 + cache-dependency-path: yarn.lock
361 + - name: Restore cached node_modules
362 + uses: actions/cache@v4
363 + id: node_modules
364 + with:
365 + path: "**/node_modules"
366 + key: v2-yarn_cache_fixtures_dom-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
367 + - run: yarn install --frozen-lockfile
368 + - run: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
369 + working-directory: fixtures/dom
370 + - name: Restore archived build
371 + uses: actions/download-artifact@v4
372 + with:
373 + path: build
374 + merge-multiple: true
375 + - name: Display structure of build
376 + run: ls -R build
377 + - name: Run DOM fixture tests
378 + run: |
379 + yarn predev
380 + yarn test
381 + working-directory: fixtures/dom
382 + env:
383 + RELEASE_CHANNEL: stable
384 +
385 # ----- FLIGHT -----
386 run_fixtures_flight_tests:
387 name: Run fixtures Flight tests