Skip to content

Commit

Permalink
actions: Add seeding job to API test workflow
Browse files Browse the repository at this point in the history
Given the numerous times, we forget to update the seeding scripts, according to database schema changes, it would be better to add a Seed database job, to the API Test workflow, to catch those issues on PRs.
  • Loading branch information
sashko9807 committed Mar 20, 2024
1 parent 68a58bd commit 8b16146
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
run: yarn prisma generate
- name: Migrate database
run: yarn prisma migrate deploy
- name: Seed database
run: yarn seed
- name: NX Build and lint API # https://github.com/marketplace/actions/nrwl-nx
uses: MansaGroup/nrwl-nx-action@v3
with:
Expand Down

0 comments on commit 8b16146

Please sign in to comment.