From c61a2b958e1aad72846d159b484c94949e93e6db Mon Sep 17 00:00:00 2001 From: Bilal Godil Date: Thu, 29 Jan 2026 16:06:43 -0800 Subject: [PATCH] fix test --- .../workflows/db-migration-backwards-compatibility.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/db-migration-backwards-compatibility.yaml b/.github/workflows/db-migration-backwards-compatibility.yaml index f665a2b85..c09ce9555 100644 --- a/.github/workflows/db-migration-backwards-compatibility.yaml +++ b/.github/workflows/db-migration-backwards-compatibility.yaml @@ -192,15 +192,12 @@ jobs: tail: true wait-for: 30s log-output-if: true + - name: Start run-cron-jobs in background uses: JarvusInnovations/background-action@v1.0.7 + if: ${{ hashFiles('apps/backend/scripts/run-cron-jobs.ts') != '' }} with: - 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 + run: pnpm -C apps/backend run with-env:dev tsx scripts/run-cron-jobs.ts --log-order=stream & wait-on: | http://localhost:8102 tail: true