Commit a4cb774
Fix CI: rebuild better-sqlite3 for Node.js before running tests
postinstall runs @electron/rebuild which compiles native modules for
Electron, but vitest runs on plain Node.js with a different
NODE_MODULE_VERSION. Adding npm rebuild before tests fixes the mismatch.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e3ec262 commit a4cb774
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
0 commit comments