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