diff --git a/.github/workflows/unlighthouse.yaml b/.github/workflows/unlighthouse.yaml index 77bb3fa..1a1540a 100644 --- a/.github/workflows/unlighthouse.yaml +++ b/.github/workflows/unlighthouse.yaml @@ -51,13 +51,14 @@ jobs: timeout: 120 - name: Install Dependencies - run: npm add -g @unlighthouse/cli puppeteer + run: pnpm install -g @unlighthouse/cli puppeteer - name: Run Unlighthouse run: | unlighthouse-ci \ --site "${{ steps.vercel_preview_url.outputs.preview_url }}" \ --reporter jsonExpanded \ + --samples 3 \ --build-static - name: Upload report to Cloudflare pages diff --git a/unlighthouse.config.ts b/unlighthouse.config.ts deleted file mode 100644 index 89996c7..0000000 --- a/unlighthouse.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -export default { - scanner: { - samples: 3 - }, - puppeteerClusterOptions: { - maxConcurrency: 1 - } -};