ci: grep for Prisma errors in test-run output
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
5fdf3a6222
commit
79018e8d86
@ -88,8 +88,9 @@ jobs:
|
|||||||
- name: Test-run app in foreground
|
- name: Test-run app in foreground
|
||||||
run: |
|
run: |
|
||||||
cd /opt/zhixi/backend
|
cd /opt/zhixi/backend
|
||||||
NODE_OPTIONS="--enable-source-maps" timeout 5 node dist/main.js 2>&1
|
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 "[test-run] EXIT CODE: $?"
|
echo "---"
|
||||||
|
echo "[test-run] EXIT: ${PIPESTATUS[0]}"
|
||||||
|
|
||||||
- name: Restart API service
|
- name: Restart API service
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user