Skip to content

Commit a8a8a0e

Browse files
committed
ci: attempt to fix build failing on windows
1 parent efe80a7 commit a8a8a0e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
uses: actions/setup-node@v1
3434
with:
3535
node-version: ${{ matrix.node-version }}
36+
- name: Patch node-gyp to support Visual Studio 2019
37+
shell: powershell
38+
run: |
39+
npm install --global node-gyp@latest
40+
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
3641
- name: Install
3742
run: npm install
3843
- name: Run tests

0 commit comments

Comments
 (0)