Skip to content

Commit 835e8b2

Browse files
committed
ci: fix build with latest node-gyp
1 parent 04a1079 commit 835e8b2

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414
windows:
1515
name: Windows
16-
runs-on: windows-latest
16+
runs-on: windows-2019
1717
timeout-minutes: 60
1818
env:
1919
CHILD_CONCURRENCY: "1"

.github/workflows/rich-navigation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
richnav:
13-
runs-on: windows-latest
13+
runs-on: windows-2019
1414
steps:
1515
- uses: actions/checkout@v2
1616

build/azure-pipelines/darwin/product-build-darwin.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ steps:
7979
set -e
8080
export npm_config_arch=$(VSCODE_ARCH)
8181
export npm_config_node_gyp=$(which node-gyp)
82+
# Electron <= 13 does not ship with correct config.gypi headers,
83+
# remove this once we update to newer versions.
84+
# Refs https://github.com/nodejs/node-gyp/pull/2497
85+
export npm_config_force_process_config=true
8286
8387
for i in {1..3}; do # try 3 times, for Terrapin
8488
yarn --frozen-lockfile && break

0 commit comments

Comments
 (0)