Skip to content

feat: add Lighthouse CI workflow and configuration; remove old image compression workflow #3

feat: add Lighthouse CI workflow and configuration; remove old image compression workflow

feat: add Lighthouse CI workflow and configuration; remove old image compression workflow #3

Workflow file for this run

name: Lighthouse CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.5
- name: Install dependencies
run: bun install
- name: Build project
run: bun run build
- name: Install and Run Lighthouse CI
run: |
bun add -g @lhci/[email protected]
bunx lhci autorun
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}