test-multiple-versions.yml
This file
Path
.github/workflows/test-multiple-versions.yml
43 lines · 1.1 KiB · YAML
Last changed by
chore(deps): update dev dependencies (#3560)Daishi Katobefore adoption1f531ba
History of this fileTake it
1234567891011121314151617181920212223242526272829303132333435363738394041424344name: Test Multiple Versions
on: push: branches: [main] pull_request: types: [opened, synchronize]
permissions: contents: read
jobs: test_multiple_versions: runs-on: ubuntu-latest strategy: fail-fast: false matrix: react: - 18.0.0 - 18.1.0 - 18.2.0 - 18.3.1 - 19.0.0 - 19.1.0 - 19.2.0 - 19.3.0-canary-bfb7a768-20260811 - 0.0.0-experimental-bfb7a768-20260811 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 'lts/*' cache: 'pnpm' - run: pnpm install - name: Test ${{ matrix.react }} ${{ matrix.devtools-skip }} run: | pnpm add -D react@$REACT_VER react-dom@$REACT_VER pnpm run test:spec env: REACT_VER: ${{ matrix.react }}