Skip to content

Commit

Permalink
del
Browse files Browse the repository at this point in the history
  • Loading branch information
lxvdnl committed Apr 24, 2024
1 parent 46bcc1e commit 1dc2252
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/server-run-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ jobs:
- name: Start server and check
run: |
node server.js
sleep 5 # Подождать несколько секунд для запуска сервера
if curl --output /dev/null --silent --head --fail http://localhost:3000; then
echo "Server is running"
else
echo "Server failed to start"
exit 1
fi
- name: Stop server
run: |
kill $(lsof -t -i:3000) # Остановить сервер по порту 3000

0 comments on commit 1dc2252

Please sign in to comment.