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
51 changes: 51 additions & 0 deletions .github/workflows/web-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Web Build

on:
pull_request:
branches:
- release
workflow_dispatch:

permissions:
contents: read

concurrency:
group: web-build-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
defaults:
run:
working-directory: web
env:
DATABASE_URL: postgres://build:build@localhost:5432/build
BETTER_AUTH_SECRET: build-secret
BETTER_AUTH_URL: http://localhost:3000
APP_URL: http://localhost:3000
NEXT_PUBLIC_APP_VERSION: ${{ github.sha }}
NEXT_TELEMETRY_DISABLED: "1"

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

- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 11

- name: Set up Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
cache-dependency-path: web/pnpm-lock.yaml

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

- name: Build
run: pnpm build
4 changes: 2 additions & 2 deletions web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:24-slim AS deps
WORKDIR /app
RUN corepack enable pnpm
COPY package.json pnpm-lock.yaml ./
RUN corepack enable pnpm && corepack prepare pnpm@11 --activate
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN pnpm install --frozen-lockfile

FROM node:24-slim AS builder
Expand Down
2 changes: 1 addition & 1 deletion web/mise.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[tools]
node = "24"
pnpm = "latest"
pnpm = "11"
142 changes: 71 additions & 71 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,75 +3,75 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "portless cloud --app-port 3000 next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:push": "drizzle-kit push",
"db:studio": "drizzle-kit studio"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.968.0",
"@base-ui/react": "^1.0.0",
"@bprogress/next": "^3.2.12",
"@react-email/components": "^1.0.4",
"@react-email/render": "^2.0.2",
"acme-client": "^5.4.0",
"better-auth": "^1.4.9",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"cron-parser": "^5.4.0",
"cronstrue": "^3.9.0",
"drizzle-orm": "^0.45.1",
"inngest": "^4.3.0",
"ip-address": "^10.1.0",
"jose": "^6.1.3",
"lucide-react": "^0.562.0",
"next": "16.2.1",
"next-themes": "^0.4.6",
"nodemailer": "^7.0.12",
"nuqs": "^2.8.6",
"pg": "^8.16.3",
"react": "19.2.4",
"react-dom": "19.2.4",
"shadcn": "^3.6.2",
"sonner": "^2.0.7",
"swr": "^2.3.8",
"tailwind-merge": "^3.4.0",
"tw-animate-css": "^1.4.0",
"validator": "^13.15.26",
"yaml": "^2.8.2",
"zod": "^4.3.5"
},
"devDependencies": {
"@biomejs/biome": "2.3.10",
"@eslint/eslintrc": "^3",
"@tailwindcss/postcss": "^4",
"@types/node": "^22",
"@types/nodemailer": "^7.0.5",
"@types/pg": "^8.16.0",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@types/validator": "^13.15.10",
"drizzle-kit": "^0.31.8",
"eslint": "^9",
"eslint-config-next": "16.2.1",
"portless": "^0.11.1",
"tailwindcss": "^4",
"tsx": "^4.19.2",
"typescript": "^5"
},
"overrides": {
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3"
},
"pnpm": {
"overrides": {
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3"
}
}
"dev": "portless cloud --app-port 3000 next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:push": "drizzle-kit push",
"db:studio": "drizzle-kit studio"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.968.0",
"@base-ui/react": "^1.0.0",
"@bprogress/next": "^3.2.12",
"@react-email/components": "^1.0.4",
"@react-email/render": "^2.0.2",
"acme-client": "^5.4.0",
"better-auth": "^1.4.9",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"cron-parser": "^5.4.0",
"cronstrue": "^3.9.0",
"drizzle-orm": "^0.45.1",
"inngest": "^4.3.0",
"ip-address": "^10.1.0",
"jose": "^6.1.3",
"lucide-react": "^0.562.0",
"next": "16.2.6",
"next-themes": "^0.4.6",
"nodemailer": "^7.0.12",
"nuqs": "^2.8.6",
"pg": "^8.16.3",
"react": "19.2.6",
"react-dom": "19.2.6",
"shadcn": "^3.6.2",
"sonner": "^2.0.7",
"swr": "^2.3.8",
"tailwind-merge": "^3.4.0",
"tw-animate-css": "^1.4.0",
"validator": "^13.15.26",
"yaml": "^2.8.2",
"zod": "^4.3.5"
},
"devDependencies": {
"@biomejs/biome": "2.3.10",
"@eslint/eslintrc": "^3",
"@tailwindcss/postcss": "^4",
"@types/node": "^22",
"@types/nodemailer": "^7.0.5",
"@types/pg": "^8.16.0",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@types/validator": "^13.15.10",
"drizzle-kit": "^0.31.8",
"eslint": "^9",
"eslint-config-next": "16.2.6",
"portless": "^0.11.1",
"tailwindcss": "^4",
"tsx": "^4.19.2",
"typescript": "^5"
},
"overrides": {
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3"
},
"pnpm": {
"overrides": {
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3"
}
}
}
Loading
Loading