From aea9fde9ffe4b6d714aab7326151db5487afc2d0 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Wed, 22 Apr 2026 16:11:05 +0300 Subject: [PATCH] fix: workflow --- .gitea/workflows/workflow.yml | 3 ++- vitest.config.component.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index a38c2ba..442810f 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -47,7 +47,8 @@ jobs: run: yarn test:unit - name: Run Component Tests - run: yarn test:component + timeout-minutes: 5 + run: yarn test:component --reporter=verbose --logHeapUsage publish: needs: build # Only runs if tests/lint pass diff --git a/vitest.config.component.ts b/vitest.config.component.ts index bc26ea5..378d0bc 100644 --- a/vitest.config.component.ts +++ b/vitest.config.component.ts @@ -13,6 +13,7 @@ export default defineConfig({ setupFiles: ['./vitest.setup.component.ts', './vitest.setup.jsdom.ts'], globals: true, testTimeout: 15000, + maxWorkers: process.env.CI ? 1 : undefined, }, resolve: {