Skip to content

Commit

Permalink
Update nodejs-server.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thias15 authored Jan 20, 2025
1 parent 1a6c7bc commit 597312e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nodejs-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
run: nohup npm start &

- name: Wait for server to start
run: sleep 5 # Adjust this if your server takes longer to start
run: sleep 10

- name: Test server
run: |
curl -I http://localhost:3000 # Adjust port if necessary
curl http://localhost:3000 # Perform basic server response test
curl -I http://localhost:7071
curl http://localhost:7071
- name: Stop background server
if: always()
Expand Down

0 comments on commit 597312e

Please sign in to comment.