Use special node gyp

This commit is contained in:
JoelBirlingmairBeastCode authored and GitHub committed 2022-08-23 20:51:30 -05:00
1 parent 3fa26a5ceb
commit ebd3e3ce02
1 file changed
+7 -4
+7 -4
View File
@@ -33,11 +33,14 @@ jobs:
npm install --global yarn
yarn --version
- name: Install build tools for Node GYP
run: npm install --global windows-build-tools@4.0.0
- name: update Node GYP to latest
run: npm install -g node-gyp@latest
- 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
# install GNU make
- name: Install gnu make using choclatey