use private yarn pkg cache, ensure private npm/yarn bin always on path - #23372
Conversation
f0066e8 to
77060a1
Compare
4498874 to
260710e
Compare
| * Configure npm to use a unique sandboxed environment. | ||
| */ | ||
| export default async function () { | ||
| const tempRoot: string = getGlobalVariable('tmp-root'); |
There was a problem hiding this comment.
Shouldn't the configured based on the package manager is used?
There was a problem hiding this comment.
The packages being tested (cli + yarn + npm) are all installed using npm before running the tests so I think we always need both (see 100-global-cli.ts).
d07a4d6 to
6d8af93
Compare
| console.log(` ${envName}: ${process.env[envName]!.replace(/[\n\r]+/g, '\n ')}`); | ||
| }); | ||
|
|
||
| await exec('which', 'ng', 'yarn', 'npm'); |
There was a problem hiding this comment.
I added a commit adding this line to ensure the correct ng/yarn/npm are being used. You can omit that commit if you don't think it's useful.
6d8af93 to
4787253
Compare
4805a3b to
9af75cd
Compare
|
Currently the esbuild tests are failing when the main project npm install occurs, but only on the npm+esbuild test and not the normal npm test. then what seems like every package outputs: Any ideas? Why would esbuild change anything regarding the npm install? EDIT: this seems to be after cac7b14 |
b2110d8 to
6278612
Compare
|
FWIW that esbuild job randomly switches between the error I listed above and: EDIT: this seems to be after cac7b14 |
cac7b14 to
6278612
Compare
|
I'm going to drop cac7b14 for now so we can get the rest merged. |
6278612 to
d5e94ba
Compare
d5e94ba to
6d7dc5b
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. |
No description provided.