test again

This commit is contained in:
maddalax 2024-09-25 14:09:32 -05:00
parent 45bc57e54e
commit 6ebd9994c3

View file

@ -48,3 +48,19 @@ jobs:
exit 1
fi
shell: bash
# Step 7: Start the server
- name: Start myapp server
run: |
nohup ./myapp/dist/myapp &
working-directory: ./myapp
# Step 8: Wait for server to start
- name: Wait for server startup
run: sleep 5
# Step 9: Send curl request to verify the server is running
- name: Test server with curl
run: |
curl --fail http://localhost:3000 || exit 1