Skip to content

Commit

Permalink
Create unlighthouse.config-sec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
KitLykos authored Sep 16, 2024
1 parent e2cc57f commit 89b9858
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/unlighthouse.config-sec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
puppeteerOptions: {
args: ["--no-sandbox", '--disable-dev-shm-usage'],
concurrency: 1,
},
lighthouseOptions: {
onlyCategories: ['best-practices'],
},
server: {
open: false,
site: 'sec.gov',
scanner: {
// run lighthouse for each URL 1 time(s)
samples: 3,
// use desktop to scan
device: 'desktop',
// enable the throttling mode
throttle: true,
// increase the maximum number of routes - https://unlighthouse.dev/api/config#scannermaxroutes
maxRoutes: 500,
// skip the javascript scan
skipJavascript: false,
// use sitemaps - arrays are possible for specific sites https://unlighthouse.dev/api/config#scannersitemap
sitemap: true,
}
},
debug: false,
};

0 comments on commit 89b9858

Please sign in to comment.