Bitbucket Pipe to report Page Speed Insights report
328
This Bitbucket Pipe runs PageSpeed Insights on a given URL for all categories and returns the results.
Add the following snippet to the pipe section of your bitbucket-pipelines.yml file:
- pipe: docker://saadsme/pagespeed-insights-pipe:latest
variables:
WEB_URL: "https://example.com"
# STRATEGY: "desktop" # Optional, defaults to 'desktop'
# PERFORMANCE_THRESHOLD: "30" # Optional, defaults to '30'
# ACCESSIBILITY_THRESHOLD: "90" # Optional, defaults to '90'
# SEO_THRESHOLD: "95" # Optional, defaults to '95'
# BEST_PRACTICES_THRESHOLD: "90" # Optional, defaults to '90'
docker pull saadsme/pagespeed-report:latest