Skip to content

Add Lighthouse CI for wallet performance budget #98

@Miracle656

Description

@Miracle656

Background

Veil wallet is a PWA installed on mobile devices. A slow load or large bundle directly hurts the passkey onboarding conversion rate. Without a CI-enforced performance budget, regressions are invisible until users complain.

What to build

Add Lighthouse CI to the GitHub Actions workflow to run performance, accessibility, and PWA audits against the built wallet on every PR.

Key files

  • .github/workflows/ci.yml — add Lighthouse CI job
  • frontend/wallet/lighthouserc.js — create configuration file

Suggested execution

git checkout -b ci/lighthouse-performance-budget
  1. Add @lhci/cli to frontend/wallet dev dependencies
  2. Create frontend/wallet/lighthouserc.js with assertions: Performance >= 80, Accessibility >= 90, PWA >= 80, Best Practices >= 90
  3. In CI: build the wallet, start a static server, run lhci autorun
  4. Upload results to temporary public storage

Example commit message:
ci: add Lighthouse CI performance budget for wallet PWA

Acceptance criteria

  • CI job runs on PRs against main
  • Performance, Accessibility, and PWA scores have minimum thresholds
  • Job fails if any threshold is missed
  • Results URL posted as PR comment

Drips Wave · Complexity: Medium · 150 points
Comment below to request assignment. PR must include Closes #[this issue].

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions