Skip to content

Commit 77861e0

Browse files
committed
fix: add MSVC setup step for Windows CI builds
node-gyp requires Visual Studio build tools to rebuild better-sqlite3. Added ilammy/msvc-dev-cmd action to properly configure the MSVC environment on Windows runners.
1 parent 26a7f21 commit 77861e0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build-binaries.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ jobs:
9494
smctl windows certsync --keypair-alias=${{ secrets.DIGICERT_KEYPAIR_ALIAS }}
9595
shell: bash
9696

97+
- name: Set up MSVC (Windows)
98+
if: contains(matrix.os.name, 'windows')
99+
uses: ilammy/msvc-dev-cmd@v1
100+
97101
- name: Build binaries
98102
env:
99103
E2E_TEST_BUILD: "true"

0 commit comments

Comments
 (0)