Skip to content

Instantly share code, notes, and snippets.

@hamletbatista
Created October 7, 2020 04:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamletbatista/98121ca674058f229a38689ed701ead2 to your computer and use it in GitHub Desktop.
Save hamletbatista/98121ca674058f229a38689ed701ead2 to your computer and use it in GitHub Desktop.
name: Lighthouse CI
on: push
jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@v3
with:
urls: |
https://www.ranksense.com/
https://www.ranksense.com/blog
budgetPath: ./budget.json # test performance budgets
uploadArtifacts: true # save results as an action artifacts
temporaryPublicStorage: true # upload lighthouse report to the temporary storage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment