mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-15 19:49:57 -06:00
* Update minimum node engines BREAKING CHANGE: Remove Node.js 16 and Node.js 21 support * update changelog * change entry to addresses * trigger publish-binary pipeline on appropriate branch * remove better-sqlite code * Update changelog * changelog
13 lines
335 B
JavaScript
13 lines
335 B
JavaScript
const { execSync } = require('child_process')
|
|
|
|
const executionEnv = process.env.CI ? 'ci' : 'local'
|
|
|
|
const postInstallCommands = {
|
|
local: 'patch-package && yarn-deduplicate --strategy=highest && yarn build && yarn build-v8-snapshot-dev',
|
|
ci: 'patch-package',
|
|
}
|
|
|
|
execSync(postInstallCommands[executionEnv], {
|
|
stdio: 'inherit',
|
|
})
|