From 5fdf3a6222673cc9220bfcbab3f9bb463532ce58 Mon Sep 17 00:00:00 2001 From: WangDL Date: Sun, 24 May 2026 12:29:17 +0800 Subject: [PATCH] ci: show actual exit code + source maps for debugging Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index d40c1f0..cb5fe89 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -88,8 +88,8 @@ jobs: - name: Test-run app in foreground run: | cd /opt/zhixi/backend - timeout 15 node dist/main.js 2>&1 || true - echo "[test-run] exit=$?" + NODE_OPTIONS="--enable-source-maps" timeout 5 node dist/main.js 2>&1 + echo "[test-run] EXIT CODE: $?" - name: Restart API service run: |