@netlify/plugin-lighthouse
Version:
Netlify Plugin to run Lighthouse on each build
27 lines (21 loc) • 884 B
YAML
name: netlify-plugin-lighthouse
inputs:
- name: audits
required: false
description: A list of audits to perform. Each list item is an object with either a url/path to scan and an optional thresholds mapping.
# Deprecated, use audits
- name: audit_url
required: false
description: Url of the site to audit, defaults to scanning the current built version of the site
- name: thresholds
required: false
description: Key value mapping of thresholds that will fail the build when not passed.
- name: output_path
required: false
description: Path to save the generated HTML Lighthouse report
- name: settings
required: false
description: Lighthouse-specific settings, used to modify reporting criteria
- name: fail_deploy_on_score_thresholds
required: false
description: Fail deploy if minimum threshold scores are not met