Compare commits

...
Author SHA1 Message Date
Riccardo Cipolleschi 747ca97c4f [RN][Releases] Fix build codegen 2025-05-06 14:53:44 +01:00
+5 -6
View File
@@ -224,17 +224,16 @@ async function testRNTester(
ciArtifacts /*:Unwrap<ReturnType<typeof setupGHAArtifacts>> */,
onReleaseBranch /*: boolean */,
) {
// Build Codegen as we're on a empty environment and metro needs it.
// This can be removed once we have codegen hooked in the `yarn build` step.
console.info('[Codegen] >>> Building react-native-codegen...');
exec('./packages/react-native-codegen/scripts/oss/build.sh');
// FIXME: make sure that the commands retains colors
// (--ansi) doesn't always work
// see also https://github.com/shelljs/shelljs/issues/86
pushd('packages/rn-tester');
// Build Codegen as we're on a empty environment and metro needs it.
// This can be removed once we have codegen hooked in the `yarn build` step.
exec(
'../../gradlew :packages:react-native:ReactAndroid:buildCodegenCLI --quiet',
);
if (argv.platform === 'ios') {
await testRNTesterIOS(ciArtifacts, onReleaseBranch);
} else {