File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4110,9 +4110,9 @@ functions:
41104110 script : |
41114111 set -e
41124112 {
4113- # Fetch Node.js version from VS Code's .nvmrc to ensure we test with the same version
4114- NODE_JS_VERSION=$(curl -fsSL https://raw.githubusercontent.com/microsoft/vscode/refs/heads/main/.nvmrc | tr -d '[:space:]')
4115- echo "Using Node.js version from VS Code .nvmrc : ${NODE_JS_VERSION}"
4113+ # Fetch Node.js version from VS Code's .nvmrc, default to 22.20.0 if unavailable
4114+ NODE_JS_VERSION=$(curl -fsSL https://raw.githubusercontent.com/microsoft/vscode/refs/heads/main/.nvmrc | tr -d '[:space:]' || echo "22.20.0" )
4115+ echo "Using Node.js version for VS Code extension tests : ${NODE_JS_VERSION}"
41164116 (cd scripts/docker && docker build --build-arg NODE_JS_VERSION="${NODE_JS_VERSION}" -t ubuntu24.04-xvfb -f ubuntu24.04-xvfb.Dockerfile .)
41174117 docker run \
41184118 --rm -v $PWD:/tmp/build ubuntu24.04-xvfb \
You can’t perform that action at this time.
0 commit comments