Skip to content

Commit

Permalink
update config lighthouse:
Browse files Browse the repository at this point in the history
  • Loading branch information
aloxe committed Sep 25, 2024
1 parent 0d689c9 commit 4226304
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions lighthouserc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
module.exports = {
ci: {
collect: {
// collect options here
staticDirFileDiscoveryDepth: 1,
// url: ['http://localhost:8080'],
},
assert: {
// assert options here
// preset: 'lighthouse:recommended',
// https://stackoverflow.com/questions/65550806/how-can-i-set-lighthouse-ci-to-only-test-accessibility
"assertions": {
"categories:performance": ["error", { "minScore": 1 }],
"categories:pwa": "off",
"categories:accessibility": "off",
}
},
upload: {
target: 'temporary-public-storage',
},
// server: {
// // server options here
// },
// wizard: {
// // wizard options here
// },
},
};

0 comments on commit 4226304

Please sign in to comment.