ci: show last 30 lines of test output to see full error
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 36s
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 36s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
80ac9f9834
commit
70bb318ecc
@ -88,9 +88,7 @@ jobs:
|
||||
- name: Test-run app in foreground
|
||||
run: |
|
||||
cd /opt/zhixi/backend
|
||||
NODE_OPTIONS="--enable-source-maps" timeout 10 node dist/main.js 2>&1 | grep -iE "error|Error|Prisma|prisma|cannot|Cannot|Invalid|invalid|unknown|Unknown|table|Table|column|Column|doesn|exist|missing|Missing"
|
||||
echo "---"
|
||||
echo "[test-run] EXIT: ${PIPESTATUS[0]}"
|
||||
timeout 8 node dist/main.js 2>&1 | tail -30 || true
|
||||
|
||||
- name: Restart API service
|
||||
run: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user