Skip to content

Open source personal finance application

ci(e2e): provide dummy supabase env so the prod smoke build mounts the login page

Ilya Komichev93385bc3e5d5
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index be8eb956..99f20792 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -39,4 +39,10 @@ jobs:
run: pnpm --filter @finapp/app exec playwright install --with-deps chromium
- if: steps.pw-cache.outputs.cache-hit == 'true'
run: pnpm --filter @finapp/app exec playwright install-deps chromium
+ # The demo smoke runs without a backend, but the build still needs a valid
+ # supabaseUrl or createClient() throws and the login page never mounts.
- run: pnpm --filter @finapp/app test:e2e:prod
+ env:
+ VITE_SUPABASE_URL: https://example.supabase.co
+ VITE_SUPABASE_ANON_KEY: e2e-dummy-anon-key
+ VITE_POWERSYNC_URL: https://example.powersync.journeyapps.com