build(windows): Always setup Node.js in Windows CI (#5084)
This commit is contained in:
10
.github/workflows/ci-windows.yml
vendored
10
.github/workflows/ci-windows.yml
vendored
@@ -111,7 +111,6 @@ jobs:
|
|||||||
dependencies+=(
|
dependencies+=(
|
||||||
"mingw-w64-${TOOLCHAIN}-MinHook"
|
"mingw-w64-${TOOLCHAIN}-MinHook"
|
||||||
"mingw-w64-${TOOLCHAIN}-nsis"
|
"mingw-w64-${TOOLCHAIN}-nsis"
|
||||||
"mingw-w64-${TOOLCHAIN}-nodejs"
|
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -177,14 +176,11 @@ jobs:
|
|||||||
dotnet-version: '10.x'
|
dotnet-version: '10.x'
|
||||||
|
|
||||||
- name: Setup NodeJS
|
- name: Setup NodeJS
|
||||||
# Clang compiled NodeJS has issues when running rollup webpack
|
|
||||||
if: matrix.msystem != 'ucrt64'
|
|
||||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
|
|
||||||
- name: NodeJS Path
|
- name: NodeJS Path
|
||||||
if: matrix.msystem != 'ucrt64'
|
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
# get NodeJS PATH
|
# get NodeJS PATH
|
||||||
@@ -226,10 +222,8 @@ jobs:
|
|||||||
COMMIT: ${{ inputs.release_commit }}
|
COMMIT: ${{ inputs.release_commit }}
|
||||||
run: |
|
run: |
|
||||||
# setup NodeJS PATH
|
# setup NodeJS PATH
|
||||||
if [[ "${MATRIX_MSYSTEM}" != "ucrt64" ]]; then
|
NODEJS_PATH=$(cygpath "$NODEJS_PATH")
|
||||||
NODEJS_PATH=$(cygpath "$NODEJS_PATH")
|
export PATH="$PATH:$NODEJS_PATH"
|
||||||
export PATH="$PATH:$NODEJS_PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cmake \
|
cmake \
|
||||||
|
|||||||
Reference in New Issue
Block a user