npx -p @lhci/cli lhci collect --url https://example.com -n 5 npx -p @lhci/cli lhci upload --target filesystem --outputDir ./path/to/dump/reports const fs = require('fs'); const lhciManifest = require('./path/to/dump/reports/manifest.json'); const medianEntry = lhciManifest.find(entry => entry.isRepresentativeRun) const medianResult = JSON.parse(fs.readFileSync(medianEntry.jsonPath, 'utf-8')); console.log('Median performance score was', medianResult.categories.performance.score * 100); npx -p @lhci/cli lhci collect --url https://example.com -n 5 --mode psi --psiApiKey xXxXxXx npx -p @lhci/cli lhci upload --target filesystem --outputDir ./path/to/dump/reports