File tree 2 files changed +8
-0
lines changed
build/azure-pipelines/darwin
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 64
64
# Remove this once node-version > 17.4.x or > 16.14.0,
65
65
# which ships with npm > 8.4.0 that has support for VS 2022 toolchain.
66
66
$env:npm_config_node_gyp=$(Join-Path $(Get-Command node-gyp.cmd).Path "..\node_modules\node-gyp\bin\node-gyp.js" -Resolve)
67
+ # Electron <= 13 does not ship with correct config.gypi headers,
68
+ # remove this once we update to newer versions.
69
+ # Refs https://github.com/nodejs/node-gyp/pull/2497
70
+ $env:npm_config_force_process_config=true
67
71
yarn --frozen-lockfile --network-timeout 180000
68
72
- name : Create node_modules archive
69
73
if : ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
Original file line number Diff line number Diff line change @@ -79,6 +79,10 @@ steps:
79
79
set -e
80
80
export npm_config_arch=$(VSCODE_ARCH)
81
81
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
82
86
83
87
for i in {1..3}; do # try 3 times, for Terrapin
84
88
yarn --frozen-lockfile && break
You can’t perform that action at this time.
0 commit comments