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: {