Created
April 5, 2022 05:34
-
-
Save dainemawer/8d4d615cf1096ac1a6f58f6bc701c82b to your computer and use it in GitHub Desktop.
Github Lighthouse CLI Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@v9 | |
| with: | |
| urls: | | |
| https://example.com/ | |
| https://example.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