From 1884c8bccecf7c75c55f8e64d0523e539f6539d8 Mon Sep 17 00:00:00 2001 From: Aleksei Ioffe Date: Mon, 22 Jun 2026 16:01:55 +0200 Subject: [PATCH] Use node 22 --- Dockerfile | 2 +- test-scripts/test-nodejs.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0eb7268..a64b5b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ git \ ca-certificates \ # Add Node.js repository and install - && curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \ + && curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \ && apt-get install -y nodejs \ && apt-get clean && rm -rf /var/lib/apt/lists/* diff --git a/test-scripts/test-nodejs.sh b/test-scripts/test-nodejs.sh index 21dfdbf..3c318d4 100755 --- a/test-scripts/test-nodejs.sh +++ b/test-scripts/test-nodejs.sh @@ -3,6 +3,9 @@ set -e echo "=== Node.js SDK Command Tests ===" +echo "Checking Node.js version..." +node -v + # Find the project root directory if [[ -d "/workspaces/scanbot-sdk-example-linux/examples/nodejs" ]]; then cd /workspaces/scanbot-sdk-example-linux/examples/nodejs