Skip to content

Commit ab02659

Browse files
Merge pull request #79 from acelaya-forks/react-19
Add support for React 19
2 parents 5b40e22 + 11a0809 commit ab02659

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/test.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,23 @@ jobs:
1616
strategy:
1717
matrix:
1818
node-version: [18.x, 22.x]
19+
react-version: ['18.*', '19.*']
1920

2021
steps:
21-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2223

2324
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v2
25+
uses: actions/setup-node@v4
2526
with:
2627
node-version: ${{ matrix.node-version }}
2728
cache: 'npm'
2829

2930
- name: Install
3031
run: npm ci
3132

33+
- name: Install react
34+
run: npm install react@${{ matrix.react-version }} react-dom@${{ matrix.react-version }}
35+
3236
- name: Lint, format and type check
3337
run: npm run verify
3438

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"vitest": "^2.1.5"
6262
},
6363
"peerDependencies": {
64-
"react": "^18.0.0"
64+
"react": "^18.0.0 || ^19.0.0"
6565
},
6666
"engines": {
6767
"node": ">= 16.12.0"

0 commit comments

Comments
 (0)