From 9833974e53444ff9ea3407cd7f97164bd7ea8ec6 Mon Sep 17 00:00:00 2001 From: Newton <5769156+iamnewton@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:37:46 -0800 Subject: [PATCH] chore: fix lighthouse Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com> --- .github/workflows/lint.yml | 1 + lighthouse.config.mjs | 13 ------------- lighthouserc.json | 7 +++++++ public/mockServiceWorker.js | 1 + 4 files changed, 9 insertions(+), 13 deletions(-) delete mode 100644 lighthouse.config.mjs create mode 100644 lighthouserc.json diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ddfc598..34484f2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -36,6 +36,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ANNOTATE_ONLY: true # Allow annotations in the PR DISABLE_COMMENTS: false # Enable comments in the PR + IGNORE_GENERATED_FILES: true IGNORE_GITIGNORED_FILES: true LINTER_RULES_PATH: / CSS_FILE_NAME: "stylelint.config.js" diff --git a/lighthouse.config.mjs b/lighthouse.config.mjs deleted file mode 100644 index 3f387ff..0000000 --- a/lighthouse.config.mjs +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @see https://github.com/GoogleChrome/lighthouse-ci/blob/main/docs/configuration.md - * @type {LHCI.LighthouseCiConfig} - */ -const config = { - ci: { - upload: { - target: "temporary-public-storage", - }, - }, -}; - -export default config; diff --git a/lighthouserc.json b/lighthouserc.json new file mode 100644 index 0000000..da46d5d --- /dev/null +++ b/lighthouserc.json @@ -0,0 +1,7 @@ +{ + "ci": { + "upload": { + "target": "temporary-public-storage", + } + } +} diff --git a/public/mockServiceWorker.js b/public/mockServiceWorker.js index d790913..0751653 100644 --- a/public/mockServiceWorker.js +++ b/public/mockServiceWorker.js @@ -3,6 +3,7 @@ /** * Mock Service Worker. + * @generated * @see https://github.com/mswjs/msw * - Please do NOT modify this file. * - Please do NOT serve this file on production.