ci(windows): normalize node path for bash

This commit is contained in:
Peter Steinberger
2026-04-20 18:22:19 +01:00
parent 2f06696579
commit 8b05743df2
2 changed files with 9 additions and 1 deletions

View File

@@ -1922,6 +1922,9 @@ jobs:
- name: Capture node path
run: |
node_bin="$(dirname "$(node -p 'process.execPath')")"
if command -v cygpath >/dev/null 2>&1; then
node_bin="$(cygpath -u "$node_bin")"
fi
echo "NODE_BIN=$node_bin" >> "$GITHUB_ENV"
- name: Install dependencies