mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 10:20:46 +00:00
build(windows): Always setup Node.js in Windows CI (#5084)
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user