Skip to content

Commit

Permalink
fix seed command on gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
ettorepuccetti committed Jan 5, 2024
1 parent 4b2a687 commit 308bb29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cypress-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Cypress install
uses: cypress-io/github-action@v5
with:
build: pnpm build:test
build: pnpm build
runTests: false
- name: Save build folder
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
uses: cypress-io/github-action@v5
with:
# use build step to seed the database, build is already done in install job
build: pnpm db:seed
build: pnpm prisma db push && pnpm prisma db seed
start: pnpm start
wait-on: "http://localhost:3000"
wait-on-timeout: 120
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
with:
config: "viewportWidth=375,viewportHeight=667"
#use build step to seed the database, build is already done in install job
build: pnpm db:seed
build: pnpm prisma db push && pnpm prisma db seed
start: pnpm start
wait-on: "http://localhost:3000"
wait-on-timeout: 120
Expand Down

0 comments on commit 308bb29

Please sign in to comment.