Skip to content

Commit

Permalink
move db seed in build phase
Browse files Browse the repository at this point in the history
  • Loading branch information
ettorepuccetti committed Aug 2, 2023
1 parent 5de5374 commit 4586fa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cypress-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ jobs:
- name: "UI Tests - Chrome"
uses: cypress-io/github-action@v5
with:
start: npm run db:seed, npm start
build: npm run db:seed #use build step to seed the database, build is already done in install job
start: npm start
wait-on: "http://localhost:3000"
wait-on-timeout: 120
browser: chrome
Expand Down

1 comment on commit 4586fa1

@vercel
Copy link

@vercel vercel bot commented on 4586fa1 Aug 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.