set the msvs version

This commit is contained in:
JoelTrain committed 2022-08-24 11:32:58 -05:00
1 parent ff63182a93
commit 1c4e91b50f
1 file changed
+4 -2
+4 -2
View File
@@ -33,14 +33,16 @@ jobs:
npm install --global yarn npm install --global yarn
yarn --version yarn --version
- name: Set MSVC version
run: npm config set msvs_version 2022
- name: Update node-gyp - name: Update node-gyp
run: | run: |
$WhereNode = Get-Command node | Select-Object -ExpandProperty Definition $WhereNode = Get-Command node | Select-Object -ExpandProperty Definition
$NodeDirPath = Split-Path $WhereNode -Parent $NodeDirPath = Split-Path $WhereNode -Parent
$NodeModulesPath = $NodeDirPath + "\node_modules\npm\node_modules\npm-lifecycle" $NodeModulesPath = $NodeDirPath + "\node_modules\npm\node_modules\npm-lifecycle"
cd $NodeModulesPath cd $NodeModulesPath
npm install node-gyp@8.x npm install node-gyp@8.x
# install GNU make # install GNU make
- name: Install gnu make using choclatey - name: Install gnu make using choclatey