feat: modernize Husky to factor out deprecation warning #211
Workflow file for this run
This file contains 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 for Netlify sites | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Wait for the Netlify Preview | |
uses: jakepartusch/[email protected] | |
id: netlify | |
with: | |
site_name: 'chrisvogt' | |
max_timeout: 600 # Timeout if the deploy preview hasn't posted within 10 minutes | |
- name: Audit URLs using Lighthouse | |
uses: treosh/lighthouse-ci-action@v10 | |
with: | |
urls: | | |
${{ steps.netlify.outputs.url }} | |
budgetPath: ./.github/workflows/lighthouse-budget.json # test performance budgets | |
uploadArtifacts: true # save results as an action artifacts | |
temporaryPublicStorage: true # upload lighthouse report to the temporary storage |