Skip to content

Commit f9b9069

Browse files
authored
ci: Use JSC on the main branch while Hermes is failing (microsoft#2792)
1 parent 5921ec9 commit f9b9069

3 files changed

Lines changed: 75 additions & 400 deletions

File tree

.github/workflows/microsoft-build-rntester.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ jobs:
5555
RCT_NEW_ARCH_ENABLED: ${{ matrix.new_arch_enabled }}
5656
run: |
5757
set -eox pipefail
58+
if [[ "${{ github.ref }}" == "refs/heads/main" || "${{ github.base_ref }}" == "main" ]]; then
59+
yarn add @react-native-community/javascriptcore
60+
export USE_HERMES=0
61+
export USE_THIRD_PARTY_JSC=1
62+
fi
5863
bundle install
5964
bundle exec pod install --verbose
6065

0 commit comments

Comments
 (0)