mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-06 06:29:45 -06:00
* fix: update icons build to work on windows * Add rimraf * Update scripts * Update script * Update scripts * Fix windows migration * Update postinstall script * Remove script
13 lines
373 B
JavaScript
13 lines
373 B
JavaScript
const { execSync } = require('child_process')
|
|
|
|
const executionEnv = process.env.CI ? 'ci' : 'local'
|
|
|
|
const postInstallCommands = {
|
|
local: 'patch-package && yarn-deduplicate --strategy=highest && yarn clean && gulp postinstall && yarn build',
|
|
ci: 'patch-package && yarn clean && gulp postinstall',
|
|
}
|
|
|
|
execSync(postInstallCommands[executionEnv], {
|
|
stdio: 'inherit',
|
|
})
|