Update newest #4
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: CI | |
on: | |
- push | |
- pull_request | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
ci: | |
name: "Build & Test (React v${{ matrix.react_version}})" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
react_version: | |
- "17" | |
- "16" | |
- "16.0" | |
- "15" | |
- "15.0" | |
- "0.14.9" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "lts/*" | |
cache: 'yarn' | |
- run: yarn install | |
- run: yarn add react@${{ matrix.react_version }} | |
- run: yarn list --pattern 'react' | |
- run: yarn run pretest | |
- run: yarn run tests-only | |
- run: yarn run build |