Skip to content

Commit ea3973c

Browse files
committed
test(@angular/cli): skip npm version limit E2E on Windows
Due to the setup of the Windows CI image, replacing npm will fail. (cherry picked from commit efeebdb)
1 parent a166d95 commit ea3973c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/legacy-cli/e2e/tests/misc/npm-7.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ export default async function() {
1010
return;
1111
}
1212

13+
// Windows CI fails with permission errors when trying to replace npm
14+
if (process.platform.startsWith('win')) {
15+
return;
16+
}
17+
1318
const currentDirectory = process.cwd();
1419
try {
1520
// Install version 7.x

0 commit comments

Comments
 (0)