[tests] Update CI to Node.js 16 (#9397)

In an effort to speed up CI, we should update the lowest common
denominator to Node.js 16

Note: In April, Node.js 14 will reach EOL so we can update tsconfig
targets and ship a major semver at that time.

---------

Co-authored-by: JJ Kasper <jj@jjsweb.site>
This commit is contained in:
Steven
2023-02-13 15:59:05 -05:00
committed by GitHub
parent e7947a1b33
commit b60d3f657a
41 changed files with 29 additions and 21491 deletions

View File

@@ -502,6 +502,10 @@ it('should retry npm install when peer deps invalid and npm@8 on node@16', async
console.log(`Skipping test on node@${nodeMajor}`);
return;
}
if (process.platform === 'win32') {
console.log('Skipping test on windows');
return;
}
const fixture = path.join(__dirname, 'fixtures', '15-npm-8-legacy-peer-deps');
const nodeVersion = { major: nodeMajor } as any;
await runNpmInstall(fixture, [], {}, {}, nodeVersion);