Skip to content

Improve Issue Templates and Add Lighthouse CI Integration #6

Improve Issue Templates and Add Lighthouse CI Integration

Improve Issue Templates and Add Lighthouse CI Integration #6

Workflow file for this run

name: Lighthouse CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
node-version: 20.18.0
- name: Install dependencies
run: bun install
- name: Build Next.js app
run: bun run build
- name: Run Lighthouse CI
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
run: |
npm install -g @lhci/cli
lhci autorun
- name: Upload Lighthouse reports as artifacts
uses: actions/upload-artifact@v4
with:
name: lighthouse-reports
path: ./lighthouserc.cjs