diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c3c6cc7c..8956456a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,6 +80,9 @@ jobs: - name: Install dependencies run: pnpm install + - name: Generate Prisma client + run: pnpm db:generate + - name: Build Nuxt (pre-compiled server avoids 50s+ Nitro JIT) run: pnpm build @@ -87,6 +90,7 @@ jobs: run: pnpm test env: NUXT_USE_BUILD: '1' + NUXT_SESSION_PASSWORD: 'ci-test-secret-min-32-chars-long!!' e2e: name: E2E Tests (Playwright) @@ -106,6 +110,9 @@ jobs: - name: Install dependencies run: pnpm install + - name: Generate Prisma client + run: pnpm db:generate + - name: Build Nuxt run: pnpm build @@ -114,6 +121,8 @@ jobs: - name: Run Playwright E2E tests run: pnpm test:e2e + env: + NUXT_SESSION_PASSWORD: 'ci-test-secret-min-32-chars-long!!' - name: Upload Playwright report uses: actions/upload-artifact@v4 @@ -142,5 +151,8 @@ jobs: - name: Install dependencies run: pnpm install + - name: Generate Prisma client + run: pnpm db:generate + - name: Build run: pnpm build diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8181a4e8..74e57126 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -172,6 +172,7 @@ All SEO content (FAQ, HowTo, tips, value props, section headings) lives in the ` ## Don't +- **NEVER push to `main` without explicit user permission.** `main` auto-deploys to production on Render. Every push causes a multi-minute 502 outage for hundreds of active users. Work on feature branches; the user decides when to merge. - Change the daily word algorithm — breaks word selection globally - Add console.logs to production code - Modify `.nuxt/` or `.output/` manually (auto-generated) diff --git a/components/app/AppHeader.vue b/components/app/AppHeader.vue index abbaa5b6..a688d038 100644 --- a/components/app/AppHeader.vue +++ b/components/app/AppHeader.vue @@ -64,7 +64,11 @@ border: 1px solid rgba(0, 0, 0, 0.1); " /> - {{ subtitle }} + + @@ -84,13 +88,14 @@ aria-label="Game results" @click="$emit('results')" > -