Skip to content

Commit 19e42fb

Browse files
antonisclaude
andcommitted
fix(ci): Set REACT_NATIVE_NODE_MODULES_DIR for perf test iOS builds
The podspec's node resolution finds packages/core/node_modules/react-native (0.80.1) instead of the perf test app's (0.85.1) due to yarn workspace symlink resolution. This causes NEW_HERMES_RUNTIME to not be defined, and the old Hermes static profiling API (removed in RN 0.85) to be compiled. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c584857 commit 19e42fb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/e2e-v2.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ jobs:
157157
if [[ ${{ matrix.rn-architecture }} == 'new' ]]; then
158158
export RCT_NEW_ARCH_ENABLED=1
159159
fi
160+
export REACT_NATIVE_NODE_MODULES_DIR="$PWD/../node_modules/react-native"
160161
bundle install
161162
bundle exec pod install
162163
cd ../..
@@ -188,6 +189,7 @@ jobs:
188189
if [[ ${{ matrix.rn-architecture }} == 'new' ]]; then
189190
export RCT_NEW_ARCH_ENABLED=1
190191
fi
192+
export REACT_NATIVE_NODE_MODULES_DIR="$PWD/../node_modules/react-native"
191193
bundle install
192194
bundle exec pod install
193195
cd ../..

0 commit comments

Comments
 (0)