test: remove use of global npm cache and config #23115
Conversation
979097e to
3d4d936
Compare
b6774a5 to
4a0ce6f
Compare
2116362 to
02f7039
Compare
|
Note this started failing after the recent npm changes. I'll try getting it passing again but let me know if there's any feedback on what's here so far... |
b9effb5 to
4dadb25
Compare
07ebfc2 to
faa19bb
Compare
25bd8da to
f41341f
Compare
|
Ok I've updated this PR to significantly less changes then previously...
This no longer removes This does NOT prevent the use of the shared global npm database ( |
8d70785 to
289ab02
Compare
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Removing the use of globally installed npm and npm packages. Instead npm+yarn within the test-runner use npm+yarn from package.json (not globals). Tests no longer depend on any
--globaland use npm+ng installed locally within the temporary test directories.This might be the last step before being able to run multiple tests concurrently (#23114 was the other big one).
This might be the last one before getting the e2e tests working in bazel (#23074)
EDIT: this has changed to keep globals but use a isolated global cache per invocation, see comment below
Original attempt removing use of
--global: 02f7039