Skip to content

Updated CI

Updated CI #52

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- uses: ankane/setup-postgres@v1
with:
database: pgvector_node_test
dev-files: true
- run: |
cd /tmp
git clone --branch v0.5.1 https:/pgvector/pgvector.git
cd pgvector
make
sudo make install
- run: npx prisma migrate dev
- run: npm test