Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,19 @@ jobs:
run: npm ci

- name: Build Next.js app
run: npm run build
run: |
cat <<EOF > .env.production
NEXTAUTH_SECRET=test-nextauth-secret-for-playwright-tests
NEXTAUTH_URL=http://127.0.0.1:3000
NEXT_PUBLIC_APP_URL=http://127.0.0.1:3000
GITHUB_ID=playwright-github-id
GITHUB_SECRET=playwright-github-secret
NEXT_PUBLIC_SUPABASE_URL=https://placeholder.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=placeholder-anon-key
SUPABASE_SERVICE_ROLE_KEY=placeholder-service-role-key
PLAYWRIGHT_SERVER_MODE=start
EOF
npm run build

- name: Install Playwright browsers
run: npx playwright install --with-deps chromium
Expand Down
10 changes: 0 additions & 10 deletions src/app/auth/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@ import type { ReactNode } from "react";
export default function AuthLayout({ children }: { children: ReactNode }) {
return (
<>
<style
dangerouslySetInnerHTML={{
__html: `
html, body {
background: #080808 !important;
color-scheme: dark;
}
`,
}}
/>
{children}
</>
);
Expand Down
Loading