Skip to content

Commit 2ebc53f

Browse files
authored
Pull a docker image with Node 22 (#100)
1 parent 3abd73d commit 2ebc53f

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

cases/common.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ function run_sandboxed() {
4141
DOCKER_RUNTIME=runsc
4242
fi
4343

44-
# This image is mirrored and will not be rate limited.
45-
NODE_IMAGE=mcr.microsoft.com/mirror/docker/library/node:20
44+
NODE_IMAGE=mcr.microsoft.com/devcontainers/javascript-node:22
4645

4746
INTERNET=ts-perf-sandbox-internet
4847
NO_INTERNET=ts-perf-sandbox-internal

cases/scenarios/angular-1/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ source ../../common.sh
77

88
clone_scenario https://github.com/angular/angular.git cc57d4c4998b4e38f940afdf358af37185028072
99

10-
run_sandboxed sh -c 'yarn install --ignore-scripts'
10+
run_sandboxed sh -c 'yarn install --ignore-scripts --ignore-engines'

cases/scenarios/vscode-1/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ source ../../common.sh
77

88
clone_scenario https://github.com/microsoft/vscode.git f88bce8fe6a6d2ccd27cbd64bb26853cd8779afa
99

10-
run_sandboxed sh -c 'yarn install --ignore-scripts'
10+
run_sandboxed sh -c 'yarn install --ignore-scripts --ignore-engines'

cases/scenarios/vscode/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ source ../../common.sh
77

88
clone_scenario https://github.com/microsoft/vscode.git
99

10-
run_sandboxed sh -c 'yarn install --ignore-scripts'
10+
run_sandboxed sh -c 'npm ci --ignore-scripts'

cases/scenarios/webpack-1/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ clone_scenario https://github.com/webpack/webpack.git 228fc69f40c3e9ec6d99a5105f
99

1010
run_sandboxed sh -c '
1111
set -ex
12-
yarn install --ignore-scripts
12+
yarn install --ignore-scripts --ignore-engines
1313
1414
# https://github.com/webpack/webpack/blob/228fc69f40c3e9ec6d99a5105fdc85b5bca4ce43/.github/workflows/test.yml#L135
1515
LINK_FOLDER=$PWD/node_modules/.yarn-link

cases/scenarios/webpack/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ clone_scenario https://github.com/webpack/webpack.git
99

1010
run_sandboxed sh -c '
1111
set -ex
12-
yarn install --ignore-scripts
12+
yarn install --ignore-scripts --ignore-engines
1313
1414
# https://github.com/webpack/webpack/blob/228fc69f40c3e9ec6d99a5105fdc85b5bca4ce43/.github/workflows/test.yml#L135
1515
LINK_FOLDER=$PWD/node_modules/.yarn-link

0 commit comments

Comments
 (0)