Skip to content

Commit

Permalink
fix: add test command
Browse files Browse the repository at this point in the history
  • Loading branch information
JeevaRamu0104 committed Dec 12, 2023
1 parent 0ec671a commit 2917aef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cypress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: npm install

- name: Start server (adjust the command as per your project)
run: npm start &
run: npm run start
background: true

- name: Wait for server to start
Expand All @@ -30,7 +30,7 @@ jobs:
sleep 5
- name: Run Cypress tests
run: npm test
run: npm run cy:run

- name: Stop server (adjust the command as per your project)
run: kill $(lsof -t -i:3000) || true

0 comments on commit 2917aef

Please sign in to comment.