Basic set up reference: Lighthouse CI repo
- Need to authorize the Github LHCI App for that specific repo: https://github.com/apps/lighthouse-ci
- Take that token and put it in Repo > Settings > Secrets as
LHCI_GITHUB_APP_TOKEN
- To create a Github Workflow, you need to create a folder under your repo
/.github/workflows/
And add a file namedlighthouse.yml
(could be named anything.yml).
Here's an example file, with the secret from Github. Feel free to modify how it gets called (whether on push, pull_request, etc). See Github Workflow Syntax for reference