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: |