diff --git a/.circleci/workflows.yml b/.circleci/workflows.yml index 983d3dfe2a..2a398cdee1 100644 --- a/.circleci/workflows.yml +++ b/.circleci/workflows.yml @@ -71,12 +71,12 @@ windowsWorkflowFilters: &windows-workflow-filters or: - equal: [ develop, << pipeline.git.branch >> ] # use the following branch as well to ensure that v8 snapshot cache updates are fully tested - - equal: [ 'windows-flake', << pipeline.git.branch >> ] - equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ] - equal: [ 'ryanm/feat/unify-cdp-approach-in-electron', << pipeline.git.branch >> ] - matches: pattern: /^release\/\d+\.\d+\.\d+$/ value: << pipeline.git.branch >> + executors: # the Docker image with Cypress dependencies and Chrome browser cy-doc: diff --git a/scripts/binary/build.ts b/scripts/binary/build.ts index 5215733c82..e308098b38 100644 --- a/scripts/binary/build.ts +++ b/scripts/binary/build.ts @@ -98,7 +98,7 @@ export async function buildCypressApp (options: BuildCypressAppOpts) { if (!keepBuild) { log('#buildPackages') - await execa('yarn', ['lerna', 'run', 'build-prod', '--ignore', 'cli', '--concurrency', '1'], { + await execa('yarn', ['lerna', 'run', 'build-prod', '--ignore', 'cli', '--concurrency', '4'], { stdio: 'inherit', cwd: CY_ROOT_DIR, }) @@ -180,10 +180,12 @@ require('./packages/server/index.js') `) // removeTypeScript + log('#remove typescript files and devDep patches') await del([ // include ts files of packages meta.distDir('**', '*.ts'), - + // remove dev dep patches + meta.distDir('**', '*.dev.patch'), // except those in node_modules `!${meta.distDir('**', 'node_modules', '**', '*.ts')}`, ], { force: true }) @@ -195,7 +197,6 @@ require('./packages/server/index.js') // transformSymlinkRequires log('#transformSymlinkRequires') - await transformRequires(meta.distDir()) log(`#testDistVersion ${meta.distDir()}`)