Skip to content

Commit d7766b5

Browse files
fix: ci
1 parent 4e092bc commit d7766b5

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ jobs:
2121
- name: Install dependencies
2222
run: bun install --frozen-lockfile
2323

24-
- name: Initialize content and vector store
25-
run: bun run init
24+
- name: Download content
25+
run: bun run download-content
26+
27+
- name: Initialize vector store
28+
run: bun run init-vector-store
2629

2730
- name: Set up Docker Buildx
2831
uses: docker/setup-buildx-action@v3

src/lib/vector-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import path from "path";
33
const __dirname = path.dirname(new URL(import.meta.url).pathname);
44

55
export const vectorStore = new LibSQLVector({
6-
connectionUrl: `file:${path.join(__dirname, "../../", "tmp", "vector-store.db")}`,
6+
connectionUrl: `file:${path.join(process.cwd(), "tmp", "vector-store.db")}`,
77
});
88

99
export type VectorStoreMetadata = {

0 commit comments

Comments
 (0)