ci: raw app output, 5s timeout, show exit code
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 30s
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 30s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
70bb318ecc
commit
4a924a24fa
@ -85,10 +85,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd /opt/zhixi/backend && npx prisma generate
|
cd /opt/zhixi/backend && npx prisma generate
|
||||||
|
|
||||||
- name: Test-run app in foreground
|
- name: Run app directly (5s max, raw output)
|
||||||
run: |
|
run: |
|
||||||
cd /opt/zhixi/backend
|
cd /opt/zhixi/backend
|
||||||
timeout 8 node dist/main.js 2>&1 | tail -30 || true
|
timeout 5 node dist/main.js 2>&1
|
||||||
|
echo "[EXIT:$?]"
|
||||||
|
|
||||||
- name: Restart API service
|
- name: Restart API service
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user