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
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,23 @@ updates:
development-dependencies:
dependency-type: "development"

- package-ecosystem: "npm"
directory: "/landingpage"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
target-branch: "deps"
commit-message:
prefix: "chore(deps):"
groups:
production-dependencies:
dependency-type: "production"
development-dependencies:
dependency-type: "development"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]

- package-ecosystem: "docker"
directory: "/src/server/api/go"
schedule:
Expand Down
127 changes: 127 additions & 0 deletions .github/workflows/landingpage-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
name: Landing Page Test

on:
push:
branches:
- main
- dev
paths:
- "landingpage/**"
- ".github/workflows/landingpage-test.yaml"
pull_request:
branches:
- main
- dev
paths:
- "landingpage/**"
- ".github/workflows/landingpage-test.yaml"

jobs:
lint-and-build:
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
working-directory: landingpage
steps:
- uses: actions/checkout@v6

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: "22"
cache: "pnpm"
cache-dependency-path: landingpage/pnpm-lock.yaml

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

- name: Run lint
run: pnpm run lint

test-int:
runs-on: ubuntu-latest
needs: lint-and-build
permissions:
contents: read
defaults:
run:
working-directory: landingpage
steps:
- uses: actions/checkout@v6

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: "22"
cache: "pnpm"
cache-dependency-path: landingpage/pnpm-lock.yaml

- name: Generate .env
run: |
echo "PAYLOAD_SECRET=$(openssl rand -hex 32)" >> .env
echo 'NEXT_PUBLIC_SERVER_URL="http://localhost:3000"' >> .env

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

- name: Run integration tests
run: pnpm run test:int

test-e2e:
runs-on: ubuntu-latest
needs: lint-and-build
permissions:
contents: read
defaults:
run:
working-directory: landingpage
steps:
- uses: actions/checkout@v6

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: "22"
cache: "pnpm"
cache-dependency-path: landingpage/pnpm-lock.yaml

- name: Generate .env
run: |
echo "PAYLOAD_SECRET=$(openssl rand -hex 32)" >> .env
echo 'NEXT_PUBLIC_SERVER_URL="http://localhost:3000"' >> .env

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

- name: Install Playwright browsers
run: pnpm exec playwright install --with-deps chromium

- name: Run e2e tests
run: pnpm run test:e2e
env:
CI: true

- name: Upload Playwright report
uses: actions/upload-artifact@v6
if: ${{ !cancelled() }}
with:
name: playwright-report
path: landingpage/playwright-report/
retention-days: 30
3 changes: 3 additions & 0 deletions .github/workflows/security-reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@ jobs:
- name: Audit UI
working-directory: src/server/ui
run: pnpm audit --audit-level=high --prod
- name: Audit Landing Page
working-directory: landingpage
run: pnpm audit --audit-level=high --prod
4 changes: 4 additions & 0 deletions .github/workflows/security-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ on:
- 'src/client/acontext-ts/package-lock.json'
- 'src/server/ui/package.json'
- 'src/server/ui/pnpm-lock.yaml'
- 'landingpage/package.json'
- 'landingpage/pnpm-lock.yaml'
- '.github/workflows/security-scan.yaml'
- '.github/workflows/security-reusable.yaml'
pull_request:
Expand All @@ -33,6 +35,8 @@ on:
- 'src/client/acontext-ts/package-lock.json'
- 'src/server/ui/package.json'
- 'src/server/ui/pnpm-lock.yaml'
- 'landingpage/package.json'
- 'landingpage/pnpm-lock.yaml'
- '.github/workflows/security-scan.yaml'
- '.github/workflows/security-reusable.yaml'
workflow_dispatch:
Expand Down
38 changes: 21 additions & 17 deletions landingpage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
"dependencies": {
"@gsap/react": "^2.1.2",
"@next/third-parties": "^16.1.6",
"@opennextjs/cloudflare": "^1.16.2",
"@payloadcms/db-d1-sqlite": "3.74.0",
"@payloadcms/next": "3.74.0",
"@payloadcms/plugin-seo": "^3.74.0",
"@payloadcms/richtext-lexical": "3.74.0",
"@payloadcms/storage-r2": "3.74.0",
"@payloadcms/ui": "3.74.0",
"@opennextjs/cloudflare": "^1.16.5",
"@payloadcms/db-d1-sqlite": "3.76.1",
"@payloadcms/next": "3.76.1",
"@payloadcms/plugin-seo": "^3.76.1",
"@payloadcms/richtext-lexical": "3.76.1",
"@payloadcms/storage-r2": "3.76.1",
"@payloadcms/ui": "3.76.1",
"@radix-ui/react-slot": "^1.2.4",
"@tailwindcss/postcss": "^4.1.18",
"class-variance-authority": "^0.7.1",
Expand All @@ -42,11 +42,11 @@
"dotenv": "16.6.1",
"graphql": "^16.12.0",
"gsap": "^3.14.2",
"lucide-react": "^0.563.0",
"motion": "^12.31.0",
"lucide-react": "^0.564.0",
"motion": "^12.34.0",
"next": "15.5.12",
"next-themes": "^0.4.6",
"payload": "3.74.0",
"payload": "3.76.1",
"postcss": "^8.5.6",
"react": "19.2.4",
"react-dom": "19.2.4",
Expand All @@ -55,23 +55,24 @@
"tailwindcss": "^4.1.18"
},
"devDependencies": {
"@playwright/test": "1.58.1",
"@eslint/eslintrc": "^3.3.3",
"@playwright/test": "1.58.2",
"@testing-library/react": "16.3.2",
"@types/node": "^22.19.8",
"@types/react": "19.2.11",
"@types/node": "^22.19.11",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "4.7.0",
"eslint": "^9.39.2",
"eslint-config-next": "15.5.12",
"jsdom": "26.1.0",
"playwright": "1.58.1",
"playwright-core": "1.58.1",
"playwright": "1.58.2",
"playwright-core": "1.58.2",
"prettier": "^3.8.1",
"tw-animate-css": "^1.4.0",
"typescript": "5.9.3",
"vite-tsconfig-paths": "5.1.4",
"vitest": "3.2.4",
"wrangler": "~4.62.0"
"wrangler": "~4.65.0"
},
"engines": {
"node": "^18.20.2 || >=20.9.0",
Expand All @@ -84,7 +85,10 @@
"sharp",
"unrs-resolver",
"workerd"
]
],
"overrides": {
"@isaacs/brace-expansion": ">=5.0.1"
}
},
"cloudflare": {
"bindings": {
Expand Down
Loading
Loading