Skip to content

Commit 4241d3f

Browse files
committed
ci: disable Webpack 5 test in Node v10
Webpack 5 has a transitive dependency on `@npmcli/[email protected]` which doesn't support Node v10, so this test always fails. See: https://app.circleci.com/pipelines/github/angular/angular-cli/19498/workflows/efed3ec6-d3a1-4c2e-b7e6-c2d771d84103/jobs/279530.
1 parent a24362c commit 4241d3f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/legacy-cli/e2e/tests/misc/webpack-5.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ import { killAllProcesses, ng, silentYarn } from '../../utils/process';
44
import { ngServe, updateJsonFile } from '../../utils/project';
55

66
export default async function() {
7+
// Webpack 5 has a transitive dependency on `@npmcli/[email protected]`, which doesn't support Node v10.
8+
if (process.version.startsWith('v10')) {
9+
return;
10+
}
11+
712
// Setup project for yarn usage
813
await rimraf('node_modules');
914
await updateJsonFile('package.json', (json) => {

0 commit comments

Comments
 (0)