mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-23 07:34:00 -05:00
fix: windows build (#20854)
* fix: update icons build to work on windows * Add rimraf * Update scripts * Update script * Update scripts * Fix windows migration * Update postinstall script * Remove script
This commit is contained in:
committed by
GitHub
parent
404447e397
commit
e6cbc5ae1e
@@ -0,0 +1,12 @@
|
||||
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',
|
||||
})
|
||||
Reference in New Issue
Block a user