spec: run nan tests to ensure v8 compat has not broken (#18489)
This commit is contained in:
parent
3d8db573d9
commit
96371b6d75
5 changed files with 117 additions and 5 deletions
|
@ -26,8 +26,6 @@ const utils = require('./lib/utils')
|
|||
const BASE = path.resolve(__dirname, '../..')
|
||||
const NPM_CMD = process.platform === 'win32' ? 'npm.cmd' : 'npm'
|
||||
const NPX_CMD = process.platform === 'win32' ? 'npx.cmd' : 'npx'
|
||||
// KEEP IN SYNC WITH DEPS FILE
|
||||
const YARN_VERSION = '1.15.2'
|
||||
|
||||
const specHashPath = path.resolve(__dirname, '../spec/.hash')
|
||||
|
||||
|
@ -146,7 +144,7 @@ async function installSpecModules () {
|
|||
npm_config_nodedir: nodeDir,
|
||||
npm_config_msvs_version: '2017'
|
||||
})
|
||||
const { status } = childProcess.spawnSync(NPX_CMD, [`yarn@${YARN_VERSION}`, 'install', '--frozen-lockfile'], {
|
||||
const { status } = childProcess.spawnSync(NPX_CMD, [`yarn@${utils.YARN_VERSION}`, 'install', '--frozen-lockfile'], {
|
||||
env,
|
||||
cwd: path.resolve(__dirname, '../spec'),
|
||||
stdio: 'inherit'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue