From fe014b8fc199349cefb639fa36c5e0b8e0c6b4f5 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Wed, 20 May 2026 04:25:20 +0000 Subject: [PATCH] fix(ci): E2E DinD networking + registry token auth MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - playwright.config.ts: make baseURL configurable via PLAYWRIGHT_BASE_URL env var - ci.yml: set PLAYWRIGHT_BASE_URL=http://host.docker.internal:8080 in e2e job step Note: gitea.token registry auth not applicable — this repo uses GitHub Actions with ghcr.io and secrets.GITHUB_TOKEN (already correct). Co-Authored-By: Paperclip --- .github/workflows/ci.yml | 2 ++ apps/e2e/playwright.config.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf86865..926389f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,6 +86,8 @@ jobs: - name: Run E2E tests run: pnpm --filter @groombook/e2e test + env: + PLAYWRIGHT_BASE_URL: http://host.docker.internal:8080 - name: Upload Playwright report if: failure() diff --git a/apps/e2e/playwright.config.ts b/apps/e2e/playwright.config.ts index e0970b4..20695f1 100644 --- a/apps/e2e/playwright.config.ts +++ b/apps/e2e/playwright.config.ts @@ -19,7 +19,7 @@ export default defineConfig({ reporter: process.env.CI ? "github" : "list", use: { - baseURL: "http://localhost:8080", + baseURL: process.env.PLAYWRIGHT_BASE_URL || "http://localhost:8080", trace: "on-first-retry", screenshot: "only-on-failure", serviceWorkers: "block",