No description
Find a file
Firq 0146c9764c
All checks were successful
/ build (push) Successful in 11m34s
/ release (push) Successful in 29s
fix ver
2025-02-06 20:28:47 +01:00
.forgejo/workflows Bump forgejo-release to v2 2024-08-06 12:26:59 +00:00
.gitignore Bumped unlighthouse-ci and chromium versions, lighthouse 12 support 2024-06-20 18:38:41 +02:00
Dockerfile fix ver 2025-02-06 20:28:47 +01:00
README.md Updated README 2023-12-29 13:12:36 +01:00

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",
}