React 17 #3462
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 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
- name: Install node-gyp | |
run: yarn global add node-gyp | |
- name: Install package.json | |
run: yarn install --prefer-offline | |
- name: Build CLI | |
run: yarn build:cli | |
# TODO: Will nohoist help here? | |
- name: Install testing tools for React 17 | |
run: npx ts-node tools/test/scripts/install-react17.ts | |
- name: Build packages | |
run: yarn build | |
- name: Run tests in React 17 | |
run: yarn lg test --react17 |