Skip to content

Commit 5831e2a

Browse files
robhoganfacebook-github-bot
authored andcommitted
Breaking: Update minimum Node.js version to 22.14.0
Summary: Update Metro's minimum Node.js version to align with the React Native bump for RN 0.81: facebook/react-native#51840 This is in preparation for the next Metro major (0.83), which we'll bump to for the RN 0.81 release. Changelog: ``` - **[Breaking]**: Require Node.js >= 22.14.0 ``` Rollback Plan: Differential Revision: D78027408
1 parent 0001207 commit 5831e2a

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

.github/workflows/build-test-and-deploy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ jobs:
4848
matrix:
4949
runs-on: ['ubuntu-latest', 'windows-latest', 'macos-latest']
5050
node-version: [
51-
'18.18.0', # minimum supported
52-
'lts/-1', # pre-latest lts
5351
'lts/*', # latest lts
5452
]
5553
uses: ./.github/workflows/test.yml

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
node-version:
66
type: string
77
required: false
8-
default: '20.x'
8+
default: '22.x'
99
runs-on:
1010
type: string
1111
required: false

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@
6767
"license": "MIT",
6868
"dependencies": {},
6969
"engines": {
70-
"node": ">=18.18"
70+
"node": ">= 22.14.0"
7171
}
7272
}

packages/metro-runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
"react-test-renderer": "19.1.0"
3434
},
3535
"engines": {
36-
"node": ">=18.18"
36+
"node": ">= 22.14.0"
3737
}
3838
}

0 commit comments

Comments
 (0)