1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

try to force node-gyp to latest

This commit is contained in:
JoelTrain 2022-08-25 17:18:30 -05:00
parent aa828a94ac
commit 0e92ea608e
No known key found for this signature in database
GPG Key ID: E7720A2908E42F0A

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
@ -83,9 +88,9 @@ jobs:
# - name: Clear CA trust
# run: rm -Recursive node_modules/win-ca/pem
- name: add path to msbuild
- name: add path to msbuild
run: PATH="/c/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/":$PATH
- name: Electron Builder
run: yarn run electron-builder --publish onTag