Skip to content

Commit 95f7268

Browse files
Support Node 24 LTS (#678)
Upgrade base version of Node to version 24. Beside version 24, support version 22. Remove support of version 22.
1 parent 728fe59 commit 95f7268

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
uses: actions/setup-node@v4
1818
with:
1919
node-version: ${{ matrix.node }}
20+
cache: npm
2021

2122
- name: Print Node.js and npm version
2223
run: node --version && npm --version

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
"url": "https://github.com/react-ui-org/react-ui"
3030
},
3131
"engines": {
32-
"node": ">=22"
32+
"node": "22.x || >= 24"
3333
},
3434
"devEngines": {
3535
"runtime": {
3636
"name": "node",
37-
"version": ">=24",
37+
"version": "22.x || 24.x",
3838
"onFail": "error"
3939
},
4040
"packageManager": {

0 commit comments

Comments
 (0)