Skip to content

Commit 2eeb537

Browse files
committed
fix tests
1 parent b102db3 commit 2eeb537

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/db-migration-backwards-compatibility.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,12 @@ jobs:
195195
- name: Start run-cron-jobs in background
196196
uses: JarvusInnovations/background-action@v1.0.7
197197
with:
198-
run: pnpm -C apps/backend run run-cron-jobs --log-order=stream &
198+
run: |
199+
if [ -f apps/backend/scripts/run-cron-jobs.ts ]; then
200+
pnpm -C apps/backend run with-env:dev tsx scripts/run-cron-jobs.ts --log-order=stream &
201+
else
202+
echo "scripts/run-cron-jobs.ts missing on this branch; skipping cron runner."
203+
fi
199204
wait-on: |
200205
http://localhost:8102
201206
tail: true

0 commit comments

Comments
 (0)