From d38e5952fe08e94ecc002268ac9fe3187b90bc45 Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Fri, 18 Aug 2023 11:19:00 +0200 Subject: [PATCH] fix: remove unlighthouse config --- .github/workflows/unlighthouse.yaml | 3 ++- unlighthouse.config.ts | 8 -------- 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 unlighthouse.config.ts 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 - } -};