From 679fc152e575cb03a2a9a4d89ff21ec5b3acb09c Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Thu, 2 Apr 2026 16:42:16 +0200 Subject: [PATCH] fix(ci): Bump Node to 22 in size-analysis and testflight workflows RN 0.84 ships metro-config 0.82.2 which uses Array.toReversed(), requiring Node 20+. These two workflows build the sample app but were missed in the RN 0.84.1 bump PR (#5941). Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/size-analysis.yml | 4 ++-- .github/workflows/testflight.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/size-analysis.yml b/.github/workflows/size-analysis.yml index c2b6617755..f116df460d 100644 --- a/.github/workflows/size-analysis.yml +++ b/.github/workflows/size-analysis.yml @@ -40,7 +40,7 @@ jobs: - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: package-manager-cache: false - node-version: 18 + node-version: 22 cache: 'yarn' cache-dependency-path: yarn.lock @@ -94,7 +94,7 @@ jobs: - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: package-manager-cache: false - node-version: 18 + node-version: 22 cache: 'yarn' cache-dependency-path: yarn.lock diff --git a/.github/workflows/testflight.yml b/.github/workflows/testflight.yml index 2185707df9..3464c6b4f9 100644 --- a/.github/workflows/testflight.yml +++ b/.github/workflows/testflight.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: package-manager-cache: false - node-version: 18 + node-version: 22 cache: 'yarn' cache-dependency-path: yarn.lock - name: Install Dependencies