mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use special node gyp
This commit is contained in:
parent
3fa26a5ceb
commit
ebd3e3ce02
11
.github/workflows/build-for-windows.yml
vendored
11
.github/workflows/build-for-windows.yml
vendored
@ -33,11 +33,14 @@ jobs:
|
|||||||
npm install --global yarn
|
npm install --global yarn
|
||||||
yarn --version
|
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
|
- name: Update node-gyp
|
||||||
run: npm install -g node-gyp@latest
|
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
|
# install GNU make
|
||||||
- name: Install gnu make using choclatey
|
- name: Install gnu make using choclatey
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user