Skip to content

Commit

Permalink
Configure and set up database
Browse files Browse the repository at this point in the history
  • Loading branch information
francisli committed Feb 24, 2024
1 parent 10c7777 commit 25a93c7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ jobs:
run: npm run format:check
- name: Run ESLint
run: npm run lint --workspaces
- name: Generate Prisma client
run: cd server; npx prisma generate
- name: Initialize database, generate Prisma client
run: cd server; npx prisma migrate reset
env:
DATABASE_URL: postgresql://postgres@db/app
- name: Run Tests
run: npm test
env:
DATABASE_URL: postgresql://postgres@db/app

0 comments on commit 25a93c7

Please sign in to comment.