fix(desktop): isolate better-sqlite3 electron binding

This commit is contained in:
digua committed 2026-07-06 15:01:50 +08:00
1 parent ac662d319d
commit 5f1a9bb34e
29 files changed
+472 -87

No files matched your search

+3 -3
View File
@@ -58,10 +58,10 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
# 共享 node_modules 的 better-sqlite3 由 pnpm install 保持 Node ABI
# (desktop 不再有 electron-rebuild postinstall),这里只需准备 CLI 专属副本。
- name: Prepare better-sqlite3 for Node tests
run: |
pnpm --filter chatlab-cli run rebuild-sqlite
pnpm --filter chatlab-cli run ensure-native
run: pnpm --filter chatlab-cli run ensure-native
- name: Build MCP package for workspace imports
run: pnpm --filter chatlab-mcp build