diff --git a/bin/plugin/commands/performance.js b/bin/plugin/commands/performance.js index c4a500b105c263..1b0d85a2bb1400 100644 --- a/bin/plugin/commands/performance.js +++ b/bin/plugin/commands/performance.js @@ -161,7 +161,10 @@ async function setUpGitBranch( branch, environmentDirectory ) { await git.checkoutRemoteBranch( environmentDirectory, branch ); log( ' >> Building the ' + formats.success( branch ) + ' branch' ); - await runShellScript( 'npm ci && npm run build', environmentDirectory ); + await runShellScript( + 'npm install && npm run build', + environmentDirectory + ); } /** @@ -232,7 +235,7 @@ async function runPerformanceTests( branches, options ) { } log( ' >> Installing dependencies and building packages' ); await runShellScript( - 'npm ci && npm run build:packages', + 'npm install && npm run build:packages', performanceTestDirectory ); log( ' >> Creating the environment folders' );