From 1e3b95ed9e24b03fcc18ae70ef1a51835c4b37f8 Mon Sep 17 00:00:00 2001 From: Owen Barton Date: Fri, 13 Sep 2024 14:47:05 -0700 Subject: [PATCH] Fix yaml nesting --- .github/workflows/unlighthouse.config-cms.ts | 24 ++++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/unlighthouse.config-cms.ts b/.github/workflows/unlighthouse.config-cms.ts index 8c84c6c..35e3026 100644 --- a/.github/workflows/unlighthouse.config-cms.ts +++ b/.github/workflows/unlighthouse.config-cms.ts @@ -1,14 +1,15 @@ module.exports = { + site: 'cms.gov', puppeteerOptions: { - args: ["--no-sandbox", '--disable-dev-shm-usage'], - concurrency: 1, - }, + args: ["--no-sandbox", '--disable-dev-shm-usage'], + concurrency: 1, + }, lighthouseOptions: { onlyCategories: ['best-practices'], }, server: { - open: false, - site: 'cms.gov', + open: false, + }, scanner: { include: [ "/", @@ -34,19 +35,18 @@ module.exports = { "/status-indicators", "/blog" ], - // run lighthouse for each URL 1 time(s) + // Run Lighthouse for each URL 3 times samples: 3, - // use desktop to scan + // Use desktop to scan device: 'desktop', - // enable the throttling mode + // Enable throttling mode throttle: true, - // increase the maximum number of routes - https://unlighthouse.dev/api/config#scannermaxroutes + // Increase the maximum number of routes maxRoutes: 500, - // skip the javascript scan + // Do not skip the JavaScript scan skipJavascript: false, - // use sitemaps - arrays are possible for specific sites https://unlighthouse.dev/api/config#scannersitemap + // Use sitemaps sitemap: true, - } }, debug: false, };