Skip to content

Commit

Permalink
fix gh action steps order
Browse files Browse the repository at this point in the history
  • Loading branch information
ettorepuccetti committed Jan 5, 2024
1 parent bfaed1a commit 4b2a687
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cypress-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
container:
image: cypress/browsers:latest
steps:
- name: install pnpm
uses: pnpm/action-setup@v2
- name: Checkout
uses: actions/checkout@v4
- name: install pnpm
uses: pnpm/action-setup@v2
- name: Cypress install
uses: cypress-io/github-action@v5
with:
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
with:
# use build step to seed the database, build is already done in install job
build: pnpm db:seed
start: npm start
start: pnpm start
wait-on: "http://localhost:3000"
wait-on-timeout: 120
browser: chrome
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
config: "viewportWidth=375,viewportHeight=667"
#use build step to seed the database, build is already done in install job
build: pnpm db:seed
start: npm start
start: pnpm start
wait-on: "http://localhost:3000"
wait-on-timeout: 120
browser: chrome
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"private": true,
"scripts": {
"build": "next build",
"db:push": "prisma db push",
"db:studio": "prisma studio",
"dev": "next dev",
"postinstall": "prisma generate",
"lint": "next lint",
Expand Down

0 comments on commit 4b2a687

Please sign in to comment.