ci(workflow): add migration step to vitest CI pipeline
include drizzle migration before running Vitest to ensure database schema is up to date during test execution
This commit is contained in:
parent
8060ae9944
commit
36fe5f66a3
1 changed files with 2 additions and 0 deletions
2
.github/workflows/vitest.yml
vendored
2
.github/workflows/vitest.yml
vendored
|
|
@ -19,5 +19,7 @@ jobs:
|
|||
- uses: pnpm/action-setup@v6
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
- name: Apply drizzle migrations (SQLite)
|
||||
run: pnpm migrate
|
||||
- name: Run Vitest suites
|
||||
run: pnpm test:unit
|
||||
|
|
|
|||
Loading…
Reference in a new issue