forked from poole/hyde
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.lighthouserc.js
25 lines (25 loc) · 900 Bytes
/
.lighthouserc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module.exports = {
ci: {
collect: {
staticDistDir: '/home/runner/work/seiteta.github.io/seiteta.github.io',
url: ['http://localhost/site/index.html', 'http://localhost/site/hackerspublics/index.html'],
numberOfRuns: 1
},
assert: {
assertions: {
"categories:performance": ["warn", {"minScore": 1}],
"categories:performance": ["error", {"minScore": 0.7}],
"categories:accessibility": ["warn", {"minScore": 1}],
"categories:accessibility": ["error", {"minScore": 0.9}],
"categories:best-practices": ["warn", {"minScore": 1}],
"categories:best-practices": ["error", {"minScore": 0.9}],
"categories:seo": ["warn", {"minScore": 1}],
"categories:seo": ["error", {"minScore": 0.9}],
},
},
upload: {
target: 'filesystem',
outputDir: '/home/runner/work/lhci_results'
},
},
};