Complete React 19 migration and add dual React 18/19 package compatibility validation #145
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: Build -> Test | |
| on: | |
| push: | |
| branches-ignore: | |
| - main | |
| - next | |
| - alpha | |
| - beta | |
| - '*.x*' | |
| pull_request: | |
| branches: | |
| - main | |
| - next | |
| - alpha | |
| - beta | |
| - '*.x*' | |
| jobs: | |
| test: | |
| name: Test -> Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup LTS Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 'lts/*' | |
| cache: 'yarn' | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Typecheck | |
| run: yarn typecheck | |
| - name: Build packages | |
| run: yarn build | |
| - name: Test with coverage | |
| run: yarn test:coverage | |
| - name: Publish coverage summary | |
| if: always() | |
| run: node scripts/summarize-coverage.mjs >> "$GITHUB_STEP_SUMMARY" | |
| - name: Upload coverage reports | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-reports | |
| path: coverage | |
| if-no-files-found: warn |