Skip to content

Commit a15c3d9

Browse files
author
Shaw
committed
fix(ci): resolve hoisted vitest binary in node:sqlite test step
bunx resolves vitest from the cwd's node_modules. In bun workspaces vitest is hoisted to the monorepo root, so packages/app-core/node_modules/vitest doesn't exist. Invoke vitest directly via the repo-root path that's guaranteed to exist after a top-level install.
1 parent 2f7fb3d commit a15c3d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
# minimal config that doesn't have the exclude.
100100
working-directory: packages/app-core
101101
run: |
102-
bunx vitest run --config vitest.node-sqlite.config.ts
102+
node ../../node_modules/vitest/vitest.mjs run --config vitest.node-sqlite.config.ts
103103
104104
client-tests:
105105
name: Client Tests

0 commit comments

Comments
 (0)