From 7d2bd75f6c9fc5ae0e46ee40f4132011ca99b4d9 Mon Sep 17 00:00:00 2001 From: asepharyana Date: Sat, 1 Aug 2026 22:21:55 +0700 Subject: [PATCH] ci: exclude e2e.test.ts from CI unit run (needs live backend API_BASE) --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a159dcd..98495da 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,7 +42,8 @@ jobs: working-directory: services/backend run: | ./node_modules/.bin/tsc --noEmit - ./node_modules/.bin/vitest run + # e2e.test.ts requires a live backend (API_BASE) — run unit tests only + ./node_modules/.bin/vitest run --exclude "src/e2e.test.ts" - name: Install deps (discord-gateway) working-directory: services/discord-gateway