Skip to content

Commit

Permalink
Fix performance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Feb 21, 2023
1 parent c4c5251 commit 67998fb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bin/plugin/commands/performance.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 67998fb

Please sign in to comment.