Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions scripts/release-testing/test-e2e-local.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading