Skip to content

feat: create lighthouse config and github action #1

feat: create lighthouse config and github action

feat: create lighthouse config and github action #1

Workflow file for this run

name: Code Quality
on:
push:
pull_request:
workflow_dispatch:
jobs:
lint-format:
name: Lint & Format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- name: Run Biome
run: biome ci .
performance-audit:
name: Performance Audit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install Dependencies
run: bun install --frozen-lockfile
- name: Build
run: bun run build
- name: Setup Lighthouse
run: bun add -g @lhci/[email protected]
- name: Run Lighthouse
run: lhci autorun