build(windows): Always setup Node.js in Windows CI (#5084)

This commit is contained in:
David Lane
2026-05-08 00:59:22 -04:00
committed by GitHub
parent 3d8491689d
commit 810783dc7c
-6
View File
@@ -111,7 +111,6 @@ jobs:
dependencies+=(
"mingw-w64-${TOOLCHAIN}-MinHook"
"mingw-w64-${TOOLCHAIN}-nsis"
"mingw-w64-${TOOLCHAIN}-nodejs"
)
fi
@@ -177,14 +176,11 @@ jobs:
dotnet-version: '10.x'
- name: Setup NodeJS
# Clang compiled NodeJS has issues when running rollup webpack
if: matrix.msystem != 'ucrt64'
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 'lts/*'
- name: NodeJS Path
if: matrix.msystem != 'ucrt64'
shell: pwsh
run: |
# get NodeJS PATH
@@ -226,10 +222,8 @@ jobs:
COMMIT: ${{ inputs.release_commit }}
run: |
# setup NodeJS PATH
if [[ "${MATRIX_MSYSTEM}" != "ucrt64" ]]; then
NODEJS_PATH=$(cygpath "$NODEJS_PATH")
export PATH="$PATH:$NODEJS_PATH"
fi
mkdir -p build
cmake \