Skip to content

Commit

Permalink
test against different react versions as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dstarner committed May 2, 2023
1 parent e7324fb commit 478e892
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ on:
jobs:
build:
runs-on: ubuntu-latest
name: Node.js ${{ matrix.node-version }} / Typescript ${{ matrix.ts-version }}
name: Node ${{ matrix.node-version }} / TS ${{ matrix.ts-version }} / React ${{ matrix.react-version }}
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x]
ts-version: ['3.9', '4.1', '5.0']
react-version: ['16']
steps:
- uses: actions/checkout@v2
- name: Node.js ${{ matrix.node-version }}
Expand All @@ -25,6 +26,9 @@ jobs:

- name: Install TypeScript ${{ matrix.ts-version }}
run: npm install typescript@${{ matrix.ts-version }}

- name: Install React ${{ matrix.react-version }}
run: npm install react@${{ matrix.react-version }}

- run: npm run lint
- run: npm test

0 comments on commit 478e892

Please sign in to comment.