Skip to content

Commit de8aeb6

Browse files
fabriziocuccimotiz88
authored andcommitted
Fix all workflows to use node 22.14.0
Summary: 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
1 parent 07579d4 commit de8aeb6

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/actions/setup-node/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
node-version:
55
description: 'The node.js version to use'
66
required: false
7-
default: '22'
7+
default: '22.14.0'
88
runs:
99
using: "composite"
1010
steps:

.github/actions/yarn-install/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: yarn-install
22
runs:
33
using: composite
44
steps:
5+
- name: Setup node.js
6+
uses: ./.github/actions/setup-node
57
- name: Install dependencies
68
shell: bash
79
run: |

0 commit comments

Comments
 (0)