Skip to content

Lighthouse budget in CI #34

Open
Open

Description

@devodii

Why

The site should stay fast on a phone as it grows.

In this repo today

The app has two page types, / and /project/<id>, and it needs the API to render anything.

What to build

  • A CI job that builds the web app, serves it with the API on the sample dataset (see the local dev issue), and runs Lighthouse CI against / and one project page.
  • The job fails if the mobile performance score is below 90.
  • The report is uploaded as a workflow artifact.

Acceptance criteria

  • The job runs on every pull request and uploads the report.
  • It fails when the score drops below 90.

See CONTRIBUTING.md for conventions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions