Lighthouse with YAML

YAML parameters for Lighthouse

NameTypeDescription
action RequiredStringThe ID of the action.
type RequiredStringThe type of the action. Should be set to LIGHTHOUSE.
website RequiredStringThe address of the site on which the audit should run.
device RequiredStringThe device on which the audit will be run. Can be one of mobile, desktop and mobileDesktop.
performance RequiredIntegerValues from 0 to 100 are accepted. The action returns an error if the score is below the values that are set.
accessibility RequiredIntegerValues from 0 to 100 are accepted. The action returns an error if the score is below the values that are set.
best_practices RequiredIntegerValues from 0 to 100 are accepted. The action returns an error if the score is below the values that are set.
seo RequiredIntegerValues 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

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

Last modified on Sep 23, 2024