Skip to content

ci: Lighthouse CI + skip claude-review on forks #1

ci: Lighthouse CI + skip claude-review on forks

ci: Lighthouse CI + skip claude-review on forks #1

Workflow file for this run

name: Lighthouse CI
on:
pull_request:
branches: [main]
jobs:
lhci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Start static server
run: |
npx http-server dist -p 5000 --silent &
npx wait-on http://localhost:5000
- name: Run Lighthouse CI
run: npx lhci autorun
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}