test again
This commit is contained in:
parent
45bc57e54e
commit
6ebd9994c3
1 changed files with 16 additions and 0 deletions
16
.github/workflows/verify-installer-works.yml
vendored
16
.github/workflows/verify-installer-works.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue