diff --git a/tests/legacy-cli/e2e/tests/misc/npm-7.ts b/tests/legacy-cli/e2e/tests/misc/npm-7.ts index 1cf2fe9840bf..e08e204d89fc 100644 --- a/tests/legacy-cli/e2e/tests/misc/npm-7.ts +++ b/tests/legacy-cli/e2e/tests/misc/npm-7.ts @@ -17,6 +17,11 @@ export default async function () { return; } + // NPM 7 doesn't support Node v10. + if (process.version.startsWith('v10')) { + return; + } + const currentDirectory = process.cwd(); const extraArgs = [];