build: ignore node version mismatch for electron 30 tests (#42177)
This commit is contained in:
parent
526e2f8916
commit
40450d0a0e
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ async function installSpecModules (dir) {
|
||||||
if (fs.existsSync(path.resolve(dir, 'node_modules'))) {
|
if (fs.existsSync(path.resolve(dir, 'node_modules'))) {
|
||||||
await fs.remove(path.resolve(dir, 'node_modules'));
|
await fs.remove(path.resolve(dir, 'node_modules'));
|
||||||
}
|
}
|
||||||
const { status } = childProcess.spawnSync(NPX_CMD, [`yarn@${YARN_VERSION}`, 'install', '--frozen-lockfile'], {
|
const { status } = childProcess.spawnSync(NPX_CMD, [`yarn@${YARN_VERSION}`, 'install', '--frozen-lockfile', '--ignore-engines'], {
|
||||||
env,
|
env,
|
||||||
cwd: dir,
|
cwd: dir,
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
|
|
Loading…
Reference in a new issue