mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Bump minimum Node.js version to 22.14.0 (#51840)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51840 Bumps the minimum version of Node.js in React Native to the current active LTS release (22.x, upgraded from 18.x which is now out of support). - CI configurations are reduced from `[22, 20, 18]` to `[24, 22]`. {F1978909878} See https://nodejs.org/en/about/previous-releases. Changelog: [General][Breaking] - Our new minimum Node version is Node.js 22 Reviewed By: yungsters, cortinico Differential Revision: D76037015 fbshipit-source-id: b6e4b3ee279a9a93d716a13297420bba73f45250
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0d4c326dd3
commit
df39eadc03
@@ -83,7 +83,7 @@ body:
|
||||
path: /bin/zsh
|
||||
Binaries:
|
||||
Node: ...
|
||||
version: 18.14.0
|
||||
version: 22.14.0
|
||||
...
|
||||
render: text
|
||||
validations:
|
||||
|
||||
@@ -62,7 +62,7 @@ body:
|
||||
path: /bin/zsh
|
||||
Binaries:
|
||||
Node: ...
|
||||
version: 18.14.0
|
||||
version: 22.14.0
|
||||
...
|
||||
render: text
|
||||
validations:
|
||||
|
||||
@@ -95,7 +95,7 @@ body:
|
||||
path: /bin/zsh
|
||||
Binaries:
|
||||
Node: ...
|
||||
version: 18.14.0
|
||||
version: 22.14.0
|
||||
...
|
||||
render: text
|
||||
validations:
|
||||
|
||||
@@ -4,7 +4,7 @@ inputs:
|
||||
node-version:
|
||||
description: "The node.js version to use"
|
||||
required: false
|
||||
default: "20"
|
||||
default: "22"
|
||||
github-token:
|
||||
description: "The GitHub token used by pull-bot"
|
||||
required: true
|
||||
|
||||
@@ -4,7 +4,7 @@ inputs:
|
||||
node-version:
|
||||
description: 'The node.js version to use'
|
||||
required: false
|
||||
default: '20'
|
||||
default: '22'
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
|
||||
@@ -4,7 +4,7 @@ inputs:
|
||||
node-version:
|
||||
description: "The node.js version to use"
|
||||
required: false
|
||||
default: "20"
|
||||
default: "22"
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: '22'
|
||||
- name: Install dependencies
|
||||
uses: ./.github/actions/yarn-install
|
||||
- name: Extract next oncall
|
||||
|
||||
@@ -585,7 +585,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: ["22", "20", "18"]
|
||||
node-version: ["24", "22"]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -601,7 +601,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Run all the Linters
|
||||
- name: Run all the linters
|
||||
uses: ./.github/actions/lint
|
||||
with:
|
||||
github-token: ${{ env.GH_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user