Skip to content

Commit

Permalink
chore: release docs / fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Mar 3, 2024
1 parent 3f1d69c commit 2498184
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/content/1.guide/guides/generating-static-reports.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,15 @@ This will generate a report like the following (`json` sample):
}
]
```

## LHCI Reports

You can upload your reports to a Lighthouse CI server using the `lighthouseServer` reporter.

You will need to provide the `--lhci-host` and `--lhci-build-token` flags.

```bash
unlighthouse-ci --site <your-site> --reporter lighthouseServer --lhci-host <lhci host> --lhci-build-token <lhci buildToken>
```

This will upload your reports to the Lighthouse CI server.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"scripts": {
"cli": "JITI_ESM_RESOLVE=1 node packages/cli/dist/cli.mjs",
"ci": "node packages/cli/dist/ci.mjs",
"ci:docs": "node packages/cli/dist/ci.mjs --site unlighthouse.dev --build-static --debug",
"build": "pnpm run build:pkg",
"build:docs": "cd docs && pnpm i && nuxi build",
"build:pkg": "pnpm -r --filter=./packages/** run build",
Expand Down

0 comments on commit 2498184

Please sign in to comment.