We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f3d91c commit 9da6aadCopy full SHA for 9da6aad
1 file changed
.github/workflows/test.yml
@@ -8,6 +8,12 @@ on:
8
jobs:
9
test:
10
runs-on: ubuntu-latest
11
+
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ react-version: [18, 19]
16
17
steps:
18
- uses: actions/checkout@v4
19
@@ -19,11 +25,14 @@ jobs:
25
- name: Install dependencies
20
26
run: npm install
21
27
28
+ - name: Install React ${{ matrix.react-version }}
29
+ run: npm install --no-save react@${{ matrix.react-version }} react-dom@${{ matrix.react-version }}
30
22
31
- name: List dependency versions
23
32
run: |
24
33
echo "npm: $(npm --version)"
34
echo "node: $(node --version)"
- npm ls || true
35
+ npm ls react react-dom || true
36
37
- name: Run tests
38
run: npm run test
0 commit comments