summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release-windows.yml12
1 files changed, 3 insertions, 9 deletions
diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml
index a458265..3c0ee00 100644
--- a/.github/workflows/release-windows.yml
+++ b/.github/workflows/release-windows.yml
@@ -22,15 +22,9 @@ jobs:
with:
node-version: 20
- # The node-gyp version pulled in by the dependency tree (v9) cannot
- # detect Visual Studio 2022 on current runner images — point npm at
- # the latest node-gyp for the node-pty native rebuild.
- - name: Use latest node-gyp (VS2022 detection)
- shell: pwsh
- run: |
- npm install -g node-gyp@latest
- "npm_config_node_gyp=$(npm root -g)\node-gyp\bin\node-gyp.js" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
-
+ # node-gyp is pinned to ^11 via package.json "overrides" — the v9 the
+ # tree would otherwise hoist cannot detect VS2022 on current runners
+ # (and @electron/rebuild requires the in-tree node-gyp directly).
- name: Install dependencies
run: npm ci