Skip to content

Commit

Permalink
add missing await to generate artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Cipolleschi committed Jun 28, 2023
1 parent 2707b90 commit c75a147
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/test-e2e-local.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ async function downloadArtifactsFromCircleCI(
await circleCIArtifacts.artifactURLForPackagedReactNative();
const hermesURL = await circleCIArtifacts.artifactURLHermesDebug();

const packagedReactNativePath = path.join(circleCIArtifacts.baseTmpPath, '/tmp/packaged-react-native.tar.gz');
const packagedReactNativePath = path.join(
circleCIArtifacts.baseTmpPath,
'/tmp/packaged-react-native.tar.gz',
);
const hermesPath = path.join(
circleCIArtifacts.baseTmpPath,
'hermes-ios-debug.tar.gz',
Expand Down Expand Up @@ -337,7 +340,7 @@ async function testRNTestProject(circleCIArtifacts) {
circleCIArtifacts != null
? path.join(circleCIArtifacts.baseTmpPath, 'maven-local.zip')
: '/private/tmp/maven-local';
const hermesPath = prepareArtifacts(
const hermesPath = await prepareArtifacts(
circleCIArtifacts,
mavenLocalPath,
localNodeTGZPath,
Expand All @@ -354,7 +357,7 @@ async function testRNTestProject(circleCIArtifacts) {
exec('npm pack', {cwd: reactNativePackagePath});

pushd('/tmp/');
// need to avoid the pod install step - we'll do it later
// // need to avoid the pod install step - we'll do it later
exec(
`node ${reactNativePackagePath}/cli.js init RNTestProject --template ${localNodeTGZPath} --skip-install`,
);
Expand Down

0 comments on commit c75a147

Please sign in to comment.