From cf2ce4c25cce44bf5212adbefb5985286f9c3936 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Tue, 21 Oct 2025 10:58:18 +0800 Subject: chore(CI/CD): remove Node.js installation job Worker automatically detects and install Node.js and npm. Former-commit-id: 8d5b1dc1741345607ac9a6e2df99c8187c79b9d0 --- build.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/build.sh b/build.sh index 5c8d53e8..41ad7777 100644 --- a/build.sh +++ b/build.sh @@ -28,13 +28,6 @@ main() { rm "Python-${PYTHON_VERSION}.tgz" export PATH="${HOME}/.local/Python-${PYTHON_VERSION}/bin:${PATH}" - # Install Node.js - echo "Installing Node.js ${NODE_VERSION}..." - curl -sLJO "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" - tar -C "${HOME}/.local" -xf "node-v${NODE_VERSION}-linux-x64.tar.xz" - rm "node-v${NODE_VERSION}-linux-x64.tar.xz" - export PATH="${HOME}/.local/node-v${NODE_VERSION}-linux-x64/bin:${PATH}" - # Install Dart Sass echo "Installing Dart Sass ${DART_SASS_VERSION}..." curl -sLJO "https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" @@ -62,7 +55,6 @@ main() { echo Dart Sass: "$(sass --version)" echo Go: "$(go version)" echo Hugo: "$(hugo version)" - echo Node.js: "$(node --version)" echo Python: "$(python3 --version)" # ===== Execute Pre-Hugo Actions ===== # -- cgit v1.2.3