Skip to content

Commit 74f810a

Browse files
huntiekikoso
authored andcommitted
Lower minimum Node.js version to 20.19.4 (facebook#52678)
Summary: Pull Request resolved: facebook#52678 From partner feedback, there's still appetite to support Node 20.x for the next <1y of life. Lower min version to `20.19.4` (Jul 2025) and widen test matrix in CI. Changelog: [General][Breaking] - Our new minimum Node version is Node.js 20 (Overrides facebook#51840) Reviewed By: cortinico Differential Revision: D78494491 fbshipit-source-id: c8d9dc6250cb11f8a12ca7e761b65f4a8dae9265
1 parent b5133a3 commit 74f810a

File tree

25 files changed

+25
-25
lines changed

25 files changed

+25
-25
lines changed

.github/workflows/test-all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ jobs:
583583
strategy:
584584
fail-fast: false
585585
matrix:
586-
node-version: ["24", "22"]
586+
node-version: ["24", "22", "20"]
587587
steps:
588588
- name: Checkout
589589
uses: actions/checkout@v4

packages/assets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"bugs": "https://github.com/facebook/react-native/issues",
1919
"engines": {
20-
"node": ">= 22.14.0"
20+
"node": ">= 20.19.4"
2121
},
2222
"files": [
2323
"path-support.js",

packages/babel-plugin-codegen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
],
2020
"bugs": "https://github.com/facebook/react-native/issues",
2121
"engines": {
22-
"node": ">= 22.14.0"
22+
"node": ">= 20.19.4"
2323
},
2424
"files": [
2525
"index.js"

packages/community-cli-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@
4343
}
4444
},
4545
"engines": {
46-
"node": ">= 22.14.0"
46+
"node": ">= 20.19.4"
4747
}
4848
}

packages/core-cli-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"bugs": "https://github.com/facebook/react-native/issues",
2323
"engines": {
24-
"node": ">= 22.14.0"
24+
"node": ">= 20.19.4"
2525
},
2626
"files": [
2727
"dist"

packages/debugger-frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"BUILD_INFO"
2121
],
2222
"engines": {
23-
"node": ">= 22.14.0"
23+
"node": ">= 20.19.4"
2424
}
2525
}

packages/debugger-shell/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"license": "MIT",
2828
"engines": {
29-
"node": ">= 22.14.0",
29+
"node": ">= 20.19.4",
3030
"electron": ">=36.3.0"
3131
},
3232
"dependencies": {

packages/dev-middleware/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"ws": "^6.2.3"
3636
},
3737
"engines": {
38-
"node": ">= 22.14.0"
38+
"node": ">= 20.19.4"
3939
},
4040
"devDependencies": {
4141
"selfsigned": "^2.4.1",

packages/eslint-config-react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
],
1717
"bugs": "https://github.com/facebook/react-native/issues",
1818
"engines": {
19-
"node": ">= 22.14.0"
19+
"node": ">= 20.19.4"
2020
},
2121
"main": "index.js",
2222
"dependencies": {

packages/eslint-plugin-react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
"hermes-eslint": "0.29.1"
2323
},
2424
"engines": {
25-
"node": ">= 22.14.0"
25+
"node": ">= 20.19.4"
2626
}
2727
}

0 commit comments

Comments
 (0)