mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
fix(desktop): isolate better-sqlite3 electron binding
This commit is contained in:
1 parent
ac662d319d
commit
5f1a9bb34e
29 files changed
+472
-87
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user