Skip to content
Merged
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
39 changes: 36 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
bun-version: latest

- name: Install dependencies
run: bun install
run: bun install --frozen-lockfile

- name: Run tests
run: bun run test
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
bun-version: latest

- name: Install dependencies
run: bun install
run: bun install --frozen-lockfile

- name: Install Playwright browsers
run: bunx playwright install --with-deps chromium
Expand Down Expand Up @@ -121,6 +121,39 @@ jobs:
path: tests/playwright-report/
retention-days: 7

worker-build:
name: Cloudflare Worker Build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install --frozen-lockfile

- name: Build Worker
run: bun run build:worker
working-directory: apps/web
env:
DATABASE_URL: file:./test.db
BETTER_AUTH_SECRET: test-secret-for-ci-at-least-32-chars
ALLOW_SIGNIN_SIGNUP: 'true'
NEXT_PUBLIC_APP_URL: http://localhost:3000
SMTP_TRANSPORT: cloudflare
NEXT_TELEMETRY_DISABLED: '1'
WRANGLER_SEND_METRICS: 'false'

lint:
name: Lint & Type Check
runs-on: ubuntu-latest
Expand All @@ -135,7 +168,7 @@ jobs:
bun-version: latest

- name: Install dependencies
run: bun install
run: bun install --frozen-lockfile

- name: Run lint
run: bun run lint
Expand Down
6 changes: 3 additions & 3 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@formbase/ui": "workspace:*",
"@formbase/utils": "workspace:*",
"@hookform/resolvers": "^3.4.2",
"@opennextjs/cloudflare": "1.19.5",
"@opennextjs/cloudflare": "1.20.9",
"@radix-ui/react-icons": "^1.3.0",
"@react-email/components": "^1.0.12",
"@react-email/render": "^2.0.8",
Expand All @@ -41,7 +41,7 @@
"disposable-email-domains": "^1.0.62",
"framer-motion": "^11.2.10",
"lucide-react": "^1.14.0",
"next": "16.3.3",
"next": "16.3.8",
"next-themes": "^0.4.6",
"react": "^19.2.5",
"react-dom": "^19.2.5",
Expand All @@ -65,6 +65,6 @@
"postcss": "^8.5.12",
"shiki": "^1.6.3",
"tailwindcss": "^4.2.4",
"wrangler": "4.87.0"
"wrangler": "4.125.0"
}
}
Loading
Loading