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

set the msvs version

This commit is contained in:
JoelTrain 2022-08-24 11:32:58 -05:00
parent ff63182a93
commit 1c4e91b50f
No known key found for this signature in database
GPG Key ID: E7720A2908E42F0A

View File

@ -33,14 +33,16 @@ jobs:
npm install --global yarn
yarn --version
- name: Set MSVC version
run: npm config set msvs_version 2022
- name: Update node-gyp
run: |
$WhereNode = Get-Command node | Select-Object -ExpandProperty Definition
$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@8.x
# install GNU make
- name: Install gnu make using choclatey