Skip to content

Commit

Permalink
use port 3001 in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alishaevn committed Feb 13, 2024
1 parent d09233e commit bd00f6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: cypress-io/github-action@v6
with:
start: yarn start
wait-on: 'http://localhost:3000'
wait-on: 'http://localhost:3001'
command: yarn cypress:e2e:ci
env:
NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "next build",
"cypress:e2e": "start-server-and-test dev http://localhost:3000 \"cypress open --e2e --browser electron\"",
"cypress:e2e:ci": "start-server-and-test dev http://localhost:3000 \"cypress run --headed --e2e --browser electron\"",
"cypress:e2e:ci": "start-server-and-test dev http://localhost:3001 \"cypress run --headed --e2e --browser electron\"",
"cypress:headless:e2e": "start-server-and-test dev http://localhost:3000 \"cypress run --e2e --browser electron\"",
"dev": "next dev",
"lint": "next lint --dir pages --dir utils",
Expand Down

0 comments on commit bd00f6c

Please sign in to comment.