Skip to content

Commit

Permalink
fix(ci): windows build (#1094)
Browse files Browse the repository at this point in the history
* Adding windows-build-tools to the pipeline
* Update .github/workflows/ci.yml
* Pin to windows-build-tools@v4.0.0
  • Loading branch information
whizzzkid authored Sep 8, 2022
1 parent cc5c869 commit 044032f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 14

- name: patch node gyp on windows to support Visual Studio 2019
shell: powershell
if: runner.os == 'Windows'
run: |
npm install --global node-gyp@latest
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
- name: Restore .cache
uses: actions/cache@v2
Expand Down Expand Up @@ -74,4 +81,3 @@ jobs:

- name: Show Cache
run: du -h ${{ github.workspace }}/.cache/* || true

0 comments on commit 044032f

Please sign in to comment.