From c18ba7d0850900d4e00402b7f74fe4bf00fd2764 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Tue, 24 Mar 2026 18:01:26 +0100 Subject: [PATCH] fix: exclude e2e tests from CI vitest run Playwright e2e tests need a browser and can't run in the CI container. Exclude e2e/ directory from vitest so only unit tests run. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index f43e6af..d5b82b7 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -17,7 +17,7 @@ jobs: run: npm ci - name: Run tests - run: npx vitest run + run: npx vitest run --exclude 'e2e/**' - name: Build library run: npm run build:lib