diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99a3d95..f4af18f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,8 +47,17 @@ jobs: - name: Run database migrations run: npx prisma migrate deploy + - name: Verify generated files exist + run: | + echo "=== src/generated/prisma contents ===" + ls -la src/generated/prisma/ + echo "=== index.ts content ===" + cat src/generated/prisma/index.ts + echo "=== client.ts first 3 lines ===" + head -3 src/generated/prisma/client.ts + - name: Build (includes type check and lint) - run: npm run build + run: npx next build --webpack env: AUTH_SECRET: ci-test-secret-not-for-production AUTH_TRUST_HOST: "true"