diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 1a54b91..b62c4cc 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -48,7 +48,7 @@ jobs: env: DATABASE_URL: ${{ secrets.DATABASE_URL }} INTEGRATION_TEST_USER_ID: ${{ secrets.INTEGRATION_TEST_USER_ID }} - run: pnpm --filter=@tpmjs/web tsx src/test/integration/_helpers/cleanup-orphans.ts + run: pnpm --filter=@tpmjs/web test:cleanup-orphans - name: Wait for API run: | @@ -124,4 +124,4 @@ jobs: env: DATABASE_URL: ${{ secrets.DATABASE_URL }} INTEGRATION_TEST_USER_ID: ${{ secrets.INTEGRATION_TEST_USER_ID }} - run: pnpm --filter=@tpmjs/web tsx src/test/integration/_helpers/cleanup-orphans.ts + run: pnpm --filter=@tpmjs/web test:cleanup-orphans diff --git a/apps/web/package.json b/apps/web/package.json index 454a761..c7b831c 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -15,6 +15,7 @@ "test:integration": "INTEGRATION_TESTS=true vitest run --config vitest.integration.config.ts", "test:integration:watch": "INTEGRATION_TESTS=true vitest --config vitest.integration.config.ts", "test:setup-credentials": "tsx src/test/integration/_helpers/setup-test-credentials.ts", + "test:cleanup-orphans": "tsx src/test/integration/_helpers/cleanup-orphans.ts", "generate-og": "tsx scripts/generate-og-images.ts" }, "dependencies": {