ci: show actual exit code + source maps for debugging
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 31s

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
WangDL 2026-05-24 12:29:17 +08:00
parent 69d5218b0f
commit 5fdf3a6222

View File

@ -88,8 +88,8 @@ jobs:
- name: Test-run app in foreground - name: Test-run app in foreground
run: | run: |
cd /opt/zhixi/backend cd /opt/zhixi/backend
timeout 15 node dist/main.js 2>&1 || true NODE_OPTIONS="--enable-source-maps" timeout 5 node dist/main.js 2>&1
echo "[test-run] exit=$?" echo "[test-run] EXIT CODE: $?"
- name: Restart API service - name: Restart API service
run: | run: |