update lighthouse ci: support desktop
@@ -33,4 +33,5 @@ jobs:
run: |
npm install -g @lhci/cli@0.4.x
lhci collect --settings.chromeFlags="--headless" --settings.extraHeaders="{\"authorization\":\"Bearer ${{secrets.KALM_AUTH_HEADER}}\"}"
+ lhci collect --settings.extraHeaders="{\"authorization\":\"Bearer ${{secrets.KALM_AUTH_HEADER}}\"}" --settings.chromeFlags="--no-sandbox" --settings.emulatedFormFactor="desktop"
lhci upload
