Skip to content

Commit

Permalink
test(@angular/cli): skip npm version limit E2E on Windows
Browse files Browse the repository at this point in the history
Due to the setup of the Windows CI image, replacing npm will fail.
  • Loading branch information
clydin committed Feb 5, 2021
1 parent bf2d5e2 commit efeebdb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/legacy-cli/e2e/tests/misc/npm-7.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ export default async function() {
return;
}

// Windows CI fails with permission errors when trying to replace npm
if (process.platform.startsWith('win')) {
return;
}

const currentDirectory = process.cwd();
try {
// Install version 7.x
Expand Down

0 comments on commit efeebdb

Please sign in to comment.