Skip to content

Commit 9fdaf38

Browse files
committed
ci: rebuild better-sqlite3 on windows
1 parent d936cb4 commit 9fdaf38

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ env:
1414
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
1515
NODE_OPTIONS: --max-old-space-size=6144
1616

17-
1817
# Remove default permissions of GITHUB_TOKEN for security
1918
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
2019
permissions: {}
@@ -66,7 +65,7 @@ jobs:
6665
with:
6766
node-version: lts/*
6867
cache: "pnpm"
69-
68+
7069
- name: Setup Bun
7170
uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2
7271
with:
@@ -75,6 +74,10 @@ jobs:
7574
- name: Install dependencies
7675
run: pnpm install
7776

77+
- name: Rebuild better-sqlite3
78+
run: pnpm rebuild better-sqlite3
79+
if: matrix.os == 'windows-latest'
80+
7881
- name: Install Playwright
7982
run: pnpm playwright install chromium
8083

0 commit comments

Comments
 (0)