fix(ci): remove drizzle-kit push and add BETTER_AUTH_SECRET for E2E

Since b73d7a0 added auto-migrate on Node platform boot, the explicit
drizzle-kit push step conflicts — push creates tables without recording
a migration journal, so the subsequent migrate() call fails with
"table already exists". Also add BETTER_AUTH_SECRET env var required
since ff1ad78 added fail-fast on missing secret.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
saltbo
2026-04-12 00:36:53 -04:00
parent 903f12be4f
commit fa99b31b07
+2 -1
View File
@@ -27,6 +27,8 @@ jobs:
name: E2E Tests
runs-on: ubuntu-latest
needs: check
env:
BETTER_AUTH_SECRET: ci-test-secret-that-is-at-least-32-chars
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
@@ -34,7 +36,6 @@ jobs:
node-version: 24
cache: npm
- run: npm ci
- run: npx drizzle-kit push
- run: npx playwright install --with-deps chromium
- run: npm run e2e
- uses: actions/upload-artifact@v4