Guides
Docker
Use a container with Node.js 24.13.1 or newer and Chrome installed.
Install unlighthouse@beta alongside your project dependencies.
Run the CI executable
CHROME_PATH=/usr/bin/google-chrome CHROME_FLAGS="--no-sandbox --disable-setuid-sandbox" pnpm exec unlighthouse-ci --site http://app:3000 --reporter jsonThe browser executable must exist at CHROME_PATH inside the container.
Mount a writable output directory when you need exports after the container exits.
Set the site hostname to an address reachable from that container.
Authentication
Pass required credentials through container environment variables. Use Authentication for supported audit headers and storage seeding. Puppeteer launch options and login page hooks do not configure the v1 runtime.
Did this page help you?
Anything that could be done better? :)
Help us improve this page. You can edit this page on GitHub or provide anonymous feedback below.
On this page