From 67998fbceadfa70b9c5e793b912a58733093c2d6 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Tue, 21 Feb 2023 11:58:31 +0100 Subject: [PATCH] Fix performance tests --- bin/plugin/commands/performance.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/plugin/commands/performance.js b/bin/plugin/commands/performance.js index 5d2fe7437ed297..433f9931334e61 100644 --- a/bin/plugin/commands/performance.js +++ b/bin/plugin/commands/performance.js @@ -323,14 +323,14 @@ async function runPerformanceTests( branches, options ) { log( ` >> Fetching the ${ fancyBranch } branch` ); // @ts-ignore await SimpleGit( buildPath ).reset( 'hard' ).checkout( branch ); - - log( ` >> Building the ${ fancyBranch } branch` ); - await runShellScript( - 'npm ci && npm run prebuild:packages && node ./bin/packages/build.js && npx wp-scripts build', - buildPath - ); } + log( ` >> Building the ${ fancyBranch } branch` ); + await runShellScript( + 'npm ci && npm run prebuild:packages && node ./bin/packages/build.js && npx wp-scripts build', + buildPath + ); + await runShellScript( 'cp ' + path.resolve(