Files
cypress/scripts/run-postInstall.js
Jennifer Shehane dab5047756 breaking: Remove support for Node.js 16, Node.js 21, and glibc < 2.28 (#30307)
* 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
2024-10-01 11:30:13 -04:00

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',
})