fix tests

This commit is contained in:
Bilal Godil 2026-01-29 15:45:29 -08:00
parent b102db3caa
commit 2eeb53734e

View File

@ -195,7 +195,12 @@ jobs:
- name: Start run-cron-jobs in background
uses: JarvusInnovations/background-action@v1.0.7
with:
run: pnpm -C apps/backend run run-cron-jobs --log-order=stream &
run: |
if [ -f apps/backend/scripts/run-cron-jobs.ts ]; then
pnpm -C apps/backend run with-env:dev tsx scripts/run-cron-jobs.ts --log-order=stream &
else
echo "scripts/run-cron-jobs.ts missing on this branch; skipping cron runner."
fi
wait-on: |
http://localhost:8102
tail: true