React 17 #4427
Workflow file for this run
This file contains 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: React 17 | |
on: | |
merge_group: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
react17: | |
name: Test in React 17 | |
runs-on: ubuntu-latest | |
# Disable this job until we can reliably test in React 17 | |
# (or until we can remove the React 17 tests) | |
if: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9.15.0 | |
- name: Setup Node 18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install node-gyp | |
run: pnpm add --global node-gyp | |
- name: Install package.json | |
run: pnpm install --prefer-offline | |
- name: Build CLI | |
run: pnpm build:cli | |
- name: Install testing tools for React 17 | |
run: npx ts-node tools/test/scripts/install-react17.ts | |
- name: Build packages | |
run: pnpm build | |
- name: Run tests in React 17 | |
run: pnpm run test --react17 |