Skip to content

Commit 86322fc

Browse files
committed
chore: run prisma migrations before tests
1 parent 50aa15b commit 86322fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ jobs:
2222
cache: 'pnpm'
2323
- name: Install dependencies
2424
run: pnpm install --frozen-lockfile --prefer-offline
25+
- name: Run database migrations
26+
run: pnpm dlx prisma migrate reset --force
2527
- name: Run tests
2628
run: pnpm run test:ci

0 commit comments

Comments
 (0)