From d33b0ac210bbbb2307ba7d2488c2ac560818f6ce Mon Sep 17 00:00:00 2001 From: virgilchiriac Date: Mon, 15 Jan 2024 23:41:23 +0100 Subject: [PATCH] fix test command --- .github/workflows/migrations.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/migrations.yml b/.github/workflows/migrations.yml index 9386f51c1af..f151a28893f 100644 --- a/.github/workflows/migrations.yml +++ b/.github/workflows/migrations.yml @@ -26,4 +26,4 @@ jobs: - run: npm ci - run: npm run setup:db:seed - name: check no pending migrations (migration is in db) - run: npx mikro-orm migration:pending + run: test $(npx mikro-orm migration:pending | grep -c "Migration") -eq 0