Lighthouse with YAML

YAML parameters for Lighthouse

You can find the list with common parameters for all Buddy actions here.

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