mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5baf1e6d00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52491 We hit this error when trying to release 0.81.0 (see [action run](https://github.com/facebook/react-native/actions/runs/16147471618/job/45570030039)): > error react-native/metro-babel-transformer@0.81.0-main: The engine "node" is incompatible with this module. Expected version ">= 22.14.0". Got "20.19.2" This should fix the issue. Changelog: [Internal] Reviewed By: motiz88, cortinico Differential Revision: D77938906 fbshipit-source-id: 48ca412f05d99459c4386499330584d9e560408b
16 lines
396 B
YAML
16 lines
396 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.14.0'
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Setup node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ inputs.node-version }}
|
|
cache: yarn
|