diff --git a/.lighthouserc.yml b/.lighthouserc.yml index 73e31a7..8076332 100644 --- a/.lighthouserc.yml +++ b/.lighthouserc.yml @@ -9,16 +9,20 @@ ci: - http://localhost/usage/getting-started/ settings: chromeFlags: "--no-sandbox" + onlyCategories: ['performance', 'accessibility', 'best-practices', 'seo'] + skipAudits: ["color-contrast", "uses-long-cache-ttl", "csp-xss", "bf-cache", "is-crawlable", "image-size-responsive"] assert: preset: "lighthouse:no-pwa" assertions: + color-contrast: off uses-long-cache-ttl: off csp-xss: off # FIXME: https://github.com/GoogleChrome/lighthouse/issues/14957 bf-cache: off + is-crawlable: off + image-size-responsive: off tap-targets: warn unsized-images: warn - image-size-responsive: warn # FIXME: https://github.com/GoogleChrome/lighthouse/issues/11460 categories:performance: - warn diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 7061f7a..f0fc6d0 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -32,19 +32,22 @@ steps: html-validation: image: quay.io/thegeeklab/vnu + group: test commands: - vnu --skip-non-html --also-check-css --errors-only --filterfile .vnuignore exampleSite/public link-validation: image: quay.io/thegeeklab/link-validator + group: test commands: - - link-validator --color=always --rate-limit 10 -e https://github.com/thegeeklab/${CI_REPO_NAME}/edit/main/.* -e https://unsplash.com.* + - link-validator --color=always --rate-limit 10 --timeout 30 -e https://github.com/thegeeklab/${CI_REPO_NAME}/edit/main/.* -e https://unsplash.com.* environment: LINK_VALIDATOR_BASE_DIR: exampleSite/public LINK_VALIDATOR_RETRIES: "3" page-validation: - image: quay.io/thegeeklab/lhci:0.11 + image: quay.io/thegeeklab/lhci:0.12 + group: test commands: - lhci autorun environment: