Fix node-gyp build on Windows (#2233)

* ONE MORE TIME

* I cant type

* try this

* I think I actually did it!
This commit is contained in:
Devin Binnie
2022-08-22 15:50:26 -04:00
committed by GitHub
parent 7d321e849b
commit 93b6eb4f9b
4 changed files with 7 additions and 6 deletions

View File

@@ -191,8 +191,8 @@ jobs:
- run:
name: Install nodejs-lts
command: choco install nodejs-lts -y
# ignoring scripts for windows due to issues with node-gyp
- run: $env:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = 1; npm ci --ignore-scripts
- run: npm i -g node-gyp; node-gyp install
- run: $env:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = 1; npm ci
- build:
os: windows
path: ./build/win
@@ -269,7 +269,8 @@ jobs:
- run:
name: Install nodejs-lts
command: choco install nodejs-lts -y
- run: $env:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = 1; npm ci --ignore-scripts
- run: npm i -g node-gyp; node-gyp install
- run: $env:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = 1; npm ci
- build:
os: windows
path: ./build/win