mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
df39eadc03
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
16 lines
391 B
YAML
16 lines
391 B
YAML
name: Setup node.js
|
|
description: 'Set up your GitHub Actions workflow with a specific version of node.js'
|
|
inputs:
|
|
node-version:
|
|
description: 'The node.js version to use'
|
|
required: false
|
|
default: '22'
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Setup node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ inputs.node-version }}
|
|
cache: yarn
|