Skip to content

Instantly share code, notes, and snippets.

@ohmrefresh
Created December 15, 2020 15:25
Show Gist options
  • Save ohmrefresh/a9df86557b598e9f975d3268428b3184 to your computer and use it in GitHub Desktop.
Save ohmrefresh/a9df86557b598e9f975d3268428b3184 to your computer and use it in GitHub Desktop.
Lighthouse CI Demo
➜ demo ./build.sh
✅ .lighthouseci/ directory writable
✅ Configuration file found
✅ Chrome installation found
⚠️ Ancestor hash not determinable
✅ LHCI server reachable
✅ LHCI server API-compatible
✅ LHCI server token valid
✅ LHCI server unique build for this hash
Healthcheck passed!
Running Lighthouse 3 time(s) on https://nodejs.org
Run #1...done.
Run #2...done.
Run #3...done.
Done running Lighthouse!
Checking assertions against 1 URL(s), 3 total run(s)
10 result(s) for https://nodejs.org/en/ :
✘ link-name failure for minScore assertion
Links do not have a discernible name
https://web.dev/link-name/
expected: >=0.9
found: 0
all values: 0, 0, 0
✘ maskable-icon failure for minScore assertion
Manifest doesn't have a maskable icon
https://web.dev/maskable-icon-audit/
expected: >=0.9
found: 0
all values: 0, 0, 0
✘ non-composited-animations failure for minScore assertion
Avoid non-composited animations
https://web.dev/non-composited-animations
expected: >=0.9
found: 0
all values: 0, 0, 0
✘ offline-start-url failure for minScore assertion
`start_url` does not respond with a 200 when offline
https://web.dev/offline-start-url/
expected: >=0.9
found: 0
all values: 0, 0, 0
✘ service-worker failure for minScore assertion
Does not register a service worker that controls page and `start_url`
https://web.dev/service-worker/
expected: >=0.9
found: 0
all values: 0, 0, 0
✘ tap-targets failure for minScore assertion
Tap targets are not sized appropriately
https://web.dev/tap-targets/
expected: >=0.9
found: 0.82
all values: 0.82, 0.82, 0.82
✘ works-offline failure for minScore assertion
Current page does not respond with a 200 when offline
https://web.dev/works-offline/
expected: >=0.9
found: 0
all values: 0, 0, 0
⚠️ categories.accessibility warning for minScore assertion
expected: >=1
found: 0.98
all values: 0.98, 0.98, 0.98
⚠️ render-blocking-resources warning for maxLength assertion
Eliminate render-blocking resources
https://web.dev/render-blocking-resources/
expected: <=0
found: 1
all values: 1, 1, 1
⚠️ uses-long-cache-ttl warning for maxLength assertion
Uses efficient cache policy on static assets
https://web.dev/uses-long-cache-ttl/
expected: <=0
found: 5
all values: 5, 5, 5
Assertion failed. Exiting with status code 1.
Saving CI project demo (5d2130c4-d59a-4a57-a16e-e1dc1fcaa4db)
Saving CI build (ad7315ca-d0f1-45fb-ba66-0f761f5b6441)
Saved LHR to http://127.0.0.1:9001/ (a718bd47-d1f0-44f2-bb9f-7f810ac7fd67)
Saved LHR to http://127.0.0.1:9001/ (aa056407-74bd-42f3-9d97-f6cd487e2e7d)
Saved LHR to http://127.0.0.1:9001/ (3c871db0-0b59-48fe-828f-98882b0e3ed9)
Done saving build results to Lighthouse CI
View build diff at http://127.0.0.1:9001/app/projects/demo/compare/ad7315ca-d0f1-45fb-ba66-0f761f5b6441
No GitHub token set, skipping GitHub status check.
assert command failed. Exiting with status code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment