try to force node-gyp to latest

This commit is contained in:
JoelTrain committed 2022-08-25 17:18:30 -05:00
1 parent aa828a94ac
commit 0e92ea608e
1 file changed
+6 -1
+6 -1
View File
@@ -50,7 +50,12 @@ jobs:
$NodeDirPath = Split-Path $WhereNode -Parent
$NodeModulesPath = $NodeDirPath + "\node_modules\npm\node_modules\npm-lifecycle"
cd $NodeModulesPath
npm install node-gyp@8.x
npm install node-gyp@latest
- name: Force to latest node-gyp
run: |
npm install --global node-gyp@latest
for /f "delims=" %P in ('npm prefix -g') do npm config set node_gyp "%P\node_modules\node-gyp\bin\node-gyp.js"
# install GNU make
- name: Install gnu make using choclatey