No description
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
/ build-unlighthouse-0.16.3-alpine (push) Successful in 4m26s
/ build-unlighthouse-0.18.2-alpine (push) Successful in 7m7s
/ build-unlighthouse-0.17.10-alpine (push) Successful in 7m11s
/ build-unlighthouse-0.16.3-bookworm (push) Successful in 12m54s
/ build-unlighthouse-0.17.10-bookworm (push) Successful in 10m45s
/ build-unlighthouse-0.19.0-bookworm (push) Successful in 9m53s
/ build-unlighthouse-0.18.2-bookworm (push) Successful in 9m58s
/ build-unlighthouse-0.19.0-alpine (push) Successful in 4m13s
|
||
| .forgejo/workflows | ||
| .gitignore | ||
| dockerfile.alpine | ||
| dockerfile.bookworm | ||
| README.md | ||
unlighthouse Docker Image
Image based on node:20.10.0-bookworm with chromium and unlighthouse preinstalled.
It can be used for benchmarking a given site with lighthouse and to generate corresponding reports with ease.
Usage
The unlighthouse cli can be used by running the command unlighthouse inside the container
unlighthouse-ci --site "https://preview.firq.dev/"
It is recommended to provide a unlighthouse.config.ts to reduce the amount of CLI arguments needed.
An example config can be found here:
export default {
puppeteerOptions: {
args: ["--no-sandbox", "--disable-setuid-sandbox"],
},
ci: {
budget: 90,
buildStatic: true
},
outputPath: "unlighthouse-reports",
}