Skip to content

Commit d5cab82

Browse files
committed
Added Bun to CI
1 parent 5cfcdc6 commit d5cab82

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v4
8-
- uses: actions/setup-node@v4
9-
with:
10-
node-version: 20
11-
- run: npm install
128
- uses: ankane/setup-postgres@v1
139
with:
1410
database: pgvector_node_test
@@ -19,5 +15,15 @@ jobs:
1915
cd pgvector
2016
make
2117
sudo make install
18+
19+
# Node.js
20+
- uses: actions/setup-node@v4
21+
- run: npm install
2222
- run: npx prisma migrate dev
2323
- run: npm test
24+
25+
# Bun
26+
- uses: oven-sh/setup-bun@v1
27+
- run: bun install
28+
- run: bunx prisma migrate reset --force
29+
- run: bun run test

0 commit comments

Comments
 (0)