Nightly #207
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Nightly | |
| on: | |
| schedule: | |
| - cron: "0 2 * * *" | |
| workflow_dispatch: | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" | |
| jobs: | |
| react-release-guard: | |
| name: Guard React Latest Support Window | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup | |
| - name: Check latest React release against supported line | |
| run: bun run check:react-release-guard | |
| test-react-versions: | |
| name: Test React ${{ matrix.react-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| react-version: ["~19.0.0", "~19.1.0", "~19.2.0", "latest"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup | |
| - name: Install React ${{ matrix.react-version }} | |
| run: bun add -d react@${{ matrix.react-version }} | |
| - name: Run typecheck | |
| run: bun run typecheck | |
| - name: Run tests | |
| run: bun run test:ci | |
| test-canary-react: | |
| name: Test React canary | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup | |
| - name: Install React canary | |
| run: bun add -d react@next | |
| - name: Install react-reconciler canary | |
| run: bun add react-reconciler@next | |
| - name: Build with canary dependencies | |
| run: bun run build | |
| - name: Run tests with canary dependencies | |
| run: bun run test:ci |