Skip to content

Commit

Permalink
Fix react matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
rosylilly committed Jun 1, 2021
1 parent ae56253 commit 791926c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
env: ['jsdom', 'node']
react-version: [^16.0.0, ^17.0.0]
react-version: ['16.0.0', '17.0.0']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -35,7 +35,7 @@ jobs:
yarn-${{ runner.os }}-
- name: Install dependencies - React ${{ matrix.react-version }}
run: |
node script/react-version.mjs ${{ matrix.react-version }}
node script/react-version.mjs ^${{ matrix.react-version }}
yarn install
- name: Run test with React@${{ matrix.react-version }} on ${{ matrix.env }}
run: yarn test --env ${{ matrix.env }}
Expand Down

0 comments on commit 791926c

Please sign in to comment.