diff --git a/cases/common.sh b/cases/common.sh index 4c402718..23691ff1 100755 --- a/cases/common.sh +++ b/cases/common.sh @@ -41,8 +41,7 @@ function run_sandboxed() { DOCKER_RUNTIME=runsc fi - # This image is mirrored and will not be rate limited. - NODE_IMAGE=mcr.microsoft.com/mirror/docker/library/node:20 + NODE_IMAGE=mcr.microsoft.com/devcontainers/javascript-node:22 INTERNET=ts-perf-sandbox-internet NO_INTERNET=ts-perf-sandbox-internal diff --git a/cases/scenarios/angular-1/setup.sh b/cases/scenarios/angular-1/setup.sh index 25d0844c..690a39d7 100755 --- a/cases/scenarios/angular-1/setup.sh +++ b/cases/scenarios/angular-1/setup.sh @@ -7,4 +7,4 @@ source ../../common.sh clone_scenario https://github.com/angular/angular.git cc57d4c4998b4e38f940afdf358af37185028072 -run_sandboxed sh -c 'yarn install --ignore-scripts' +run_sandboxed sh -c 'yarn install --ignore-scripts --ignore-engines' diff --git a/cases/scenarios/vscode-1/setup.sh b/cases/scenarios/vscode-1/setup.sh index 69dbf540..4cd96f38 100755 --- a/cases/scenarios/vscode-1/setup.sh +++ b/cases/scenarios/vscode-1/setup.sh @@ -7,4 +7,4 @@ source ../../common.sh clone_scenario https://github.com/microsoft/vscode.git f88bce8fe6a6d2ccd27cbd64bb26853cd8779afa -run_sandboxed sh -c 'yarn install --ignore-scripts' +run_sandboxed sh -c 'yarn install --ignore-scripts --ignore-engines' diff --git a/cases/scenarios/vscode/setup.sh b/cases/scenarios/vscode/setup.sh index dbce3db3..127c4c15 100755 --- a/cases/scenarios/vscode/setup.sh +++ b/cases/scenarios/vscode/setup.sh @@ -7,4 +7,4 @@ source ../../common.sh clone_scenario https://github.com/microsoft/vscode.git -run_sandboxed sh -c 'yarn install --ignore-scripts' +run_sandboxed sh -c 'npm ci --ignore-scripts' diff --git a/cases/scenarios/webpack-1/setup.sh b/cases/scenarios/webpack-1/setup.sh index 8cfc8512..c544fc5a 100755 --- a/cases/scenarios/webpack-1/setup.sh +++ b/cases/scenarios/webpack-1/setup.sh @@ -9,7 +9,7 @@ clone_scenario https://github.com/webpack/webpack.git 228fc69f40c3e9ec6d99a5105f run_sandboxed sh -c ' set -ex - yarn install --ignore-scripts + yarn install --ignore-scripts --ignore-engines # https://github.com/webpack/webpack/blob/228fc69f40c3e9ec6d99a5105fdc85b5bca4ce43/.github/workflows/test.yml#L135 LINK_FOLDER=$PWD/node_modules/.yarn-link diff --git a/cases/scenarios/webpack/setup.sh b/cases/scenarios/webpack/setup.sh index 803973c9..6e33326e 100755 --- a/cases/scenarios/webpack/setup.sh +++ b/cases/scenarios/webpack/setup.sh @@ -9,7 +9,7 @@ clone_scenario https://github.com/webpack/webpack.git run_sandboxed sh -c ' set -ex - yarn install --ignore-scripts + yarn install --ignore-scripts --ignore-engines # https://github.com/webpack/webpack/blob/228fc69f40c3e9ec6d99a5105fdc85b5bca4ce43/.github/workflows/test.yml#L135 LINK_FOLDER=$PWD/node_modules/.yarn-link