treosh / lighthouse-ci-action

Audit URLs using Lighthouse and test performance with Lighthouse CI.
MIT License
1.15k stars 82 forks source link

Use `::debug` and `::warning` annotations #43

Closed alekseykulikov closed 4 years ago

alekseykulikov commented 4 years ago

An LHCI assertion supports error or warning status. Currently, every annotation has an error status, where it lists errors and warnings separated visually. If a URL only has warnings, the status should be a warning.

console.log("::warning some text%0Aafter new line")

We could also use ::debug annotations to report LH results or other useful information.

alekseykulikov commented 4 years ago

treosh/lighthouse-ci-action@v3 supports warnings. ::debug annotations are not necessary since output is extended with all the extra information.