mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
24e7f7d256
Summary: We had CI on main failing consistently the past couple of days. The problem is that the hermes pipeline is failing to create the iOS XCFramework with the error: > unable to create a Mach-O from the binary at '/Users/runner/work/react-native/react-native/packages/react-native/sdks/hermes/destroot/Library/Frameworks/catalyst/hermes.framework/hermes' The main cause is this upgrade of [upload-artifacts](https://github.com/actions/upload-artifact/issues/590) which breaks symlinks. The solution is to bump the caches and downgrade the `upload-artifact` actions. ## Changelog: [Internal] - Try to fix CI for Hermes Pull Request resolved: https://github.com/facebook/react-native/pull/45908 Test Plan: GHA must be green Reviewed By: cortinico Differential Revision: D60828616 Pulled By: cipolleschi fbshipit-source-id: 6976b86dd67e2fd9d806ebaa62f47e39dc44b30d
27 lines
743 B
YAML
27 lines
743 B
YAML
name: test-js
|
|
description: Runs all the JS tests in the codebase
|
|
inputs:
|
|
node-version:
|
|
description: "The node.js version to use"
|
|
required: false
|
|
default: "18"
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Setup node.js
|
|
uses: ./.github/actions/setup-node
|
|
with:
|
|
node-version: ${{ inputs.node-version }}
|
|
- name: Yarn install
|
|
uses: ./.github/actions/yarn-install-with-cache
|
|
- name: Run Tests - JavaScript Tests
|
|
shell: bash
|
|
run: node ./scripts/run-ci-javascript-tests.js --maxWorkers 2
|
|
- name: Upload test results
|
|
if: ${{ always() }}
|
|
uses: actions/upload-artifact@v4.3.4
|
|
with:
|
|
name: test-js-results
|
|
compression-level: 1
|
|
path: ./reports/junit
|