Skip to content

feat: rebuild website with Next.js 15 + Linear-inspired design #5

feat: rebuild website with Next.js 15 + Linear-inspired design

feat: rebuild website with Next.js 15 + Linear-inspired design #5

Workflow file for this run

name: Lighthouse CI
on:
push:
branches: [main]
paths:
- 'website/**'
pull_request:
paths:
- 'website/**'
workflow_dispatch:
jobs:
lighthouse:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: website/package-lock.json
- name: Install and build website
run: |
cd website
npm ci
npm run build
- name: Start local server
run: |
cd website
npx next start -p 3000 &
sleep 5
- name: Run Lighthouse
uses: treosh/lighthouse-ci-action@v12
with:
urls: |
http://localhost:3000/
http://localhost:3000/playground
http://localhost:3000/docs
configPath: '.github/lighthouse/lighthouserc.json'
uploadArtifacts: true
- name: Check scores
run: |
echo "Lighthouse audit complete. Check artifacts for detailed results."