Skip to content

Commit

Permalink
Add lighthouse to neflify
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Jan 27, 2022
1 parent 776bd83 commit d30cf13
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions doc/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,18 @@
[build.environment]
PYTHON_VERSION = "3.8"
HUGO_VERSION = "0.91.2"

[[plugins]]
package = "@netlify/plugin-lighthouse"

# optional, fails build when a category is below a threshold
[plugins.inputs.thresholds]
performance = 0.6
accessibility = 0.9
best-practices = 0.9
seo = 0.9
pwa = 0.2

# optional, deploy the lighthouse report to a path under your site
[plugins.inputs]
output_path = "reports/lighthouse.html"

0 comments on commit d30cf13

Please sign in to comment.