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
- Add
@lhci/cli to frontend/wallet dev dependencies
- Create
frontend/wallet/lighthouserc.js with assertions: Performance >= 80, Accessibility >= 90, PWA >= 80, Best Practices >= 90
- In CI: build the wallet, start a static server, run
lhci autorun
- Upload results to temporary public storage
Example commit message:
ci: add Lighthouse CI performance budget for wallet PWA
Acceptance criteria
Drips Wave · Complexity: Medium · 150 points
Comment below to request assignment. PR must include Closes #[this issue].
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 jobfrontend/wallet/lighthouserc.js— create configuration fileSuggested execution
@lhci/clitofrontend/walletdev dependenciesfrontend/wallet/lighthouserc.jswith assertions: Performance >= 80, Accessibility >= 90, PWA >= 80, Best Practices >= 90lhci autorunExample commit message:
ci: add Lighthouse CI performance budget for wallet PWAAcceptance criteria
main