Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(ci): create .dev.vars to enable email+password auth in E2E tests

Gener9c2ae6c2438d
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e6484d8ad..39f7d2cd3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -48,6 +48,7 @@ jobs:
env:
BETTER_AUTH_SECRET: ci-e2e-secret
BETTER_AUTH_URL: http://localhost:3000
+ NEXTJS_ENV: development
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6
@@ -57,6 +58,8 @@ jobs:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
+ - name: Create .dev.vars for local bindings
+ run: printf 'BETTER_AUTH_SECRET=ci-e2e-secret\nBETTER_AUTH_URL=http://localhost:3000\nNEXTJS_ENV=development\n' > src/web/.dev.vars
- run: pnpm run db:migrate
- name: Start dev server
run: |