Skip to content

Commit 7cfe576

Browse files
Ajit Pratap Singhclaude
authored andcommitted
fix(ci): use next start instead of serve for Lighthouse CI
The site uses default Next.js build (.next/), not static export (out/). serve was returning 404 for all pages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9fe09d2 commit 7cfe576

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/lighthouse.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
- name: Start local server
3434
run: |
3535
cd website
36-
npx serve out -l 3000 &
37-
sleep 3
36+
npx next start -p 3000 &
37+
sleep 5
3838
3939
- name: Run Lighthouse
4040
uses: treosh/lighthouse-ci-action@v12

0 commit comments

Comments
 (0)