Lighthouse with YAML

YAML parameters for Lighthouse

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to LIGHTHOUSE.
website
Required
StringThe address of the site on which the audit should run.
device
Required
StringThe device on which the audit will be run. Can be one of mobile, desktop and mobileDesktop.
performance
Required
IntegerValues from 0 to 100 are accepted. The action returns an error if the score is below the values that are set.
accessibility
Required
IntegerValues from 0 to 100 are accepted. The action returns an error if the score is below the values that are set.
best_practices
Required
IntegerValues from 0 to 100 are accepted. The action returns an error if the score is below the values that are set.
seo
Required
IntegerValues from 0 to 100 are accepted. The action returns an error if the score is below the values that are set.

YAML example for Lighthouse

actions:
- action: "Lighthouse"
  type: "LIGHTHOUSE"
  device: "mobile"
  website: "https://buddy.works/"
  performance: 50
  accessibility: 50
  best_practices: 50
  seo: 50

Last modified on April 26, 2022

Questions?

Not sure how to configure a pipeline for your process? Reach out on the live-chat or contact support

Get Started

Sign up for free and deploy your project in less than 10 minutes.