File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -224,17 +224,16 @@ async function testRNTester(
224224 ciArtifacts /*:Unwrap<ReturnType<typeof setupGHAArtifacts>> */ ,
225225 onReleaseBranch /*: boolean */ ,
226226) {
227+ // Build Codegen as we're on a empty environment and metro needs it.
228+ // This can be removed once we have codegen hooked in the `yarn build` step.
229+ console . info ( '[Codegen] >>> Building react-native-codegen...' ) ;
230+ exec ( './packages/react-native-codegen/scripts/oss/build.sh' ) ;
231+
227232 // FIXME: make sure that the commands retains colors
228233 // (--ansi) doesn't always work
229234 // see also https://github.com/shelljs/shelljs/issues/86
230235 pushd ( 'packages/rn-tester' ) ;
231236
232- // Build Codegen as we're on a empty environment and metro needs it.
233- // This can be removed once we have codegen hooked in the `yarn build` step.
234- exec (
235- '../../gradlew :packages:react-native:ReactAndroid:buildCodegenCLI --quiet' ,
236- ) ;
237-
238237 if ( argv . platform === 'ios' ) {
239238 await testRNTesterIOS ( ciArtifacts , onReleaseBranch ) ;
240239 } else {
You can’t perform that action at this time.
0 commit comments