-
Notifications
You must be signed in to change notification settings - Fork 53
/
lighthouserc.yml
29 lines (29 loc) · 1.29 KB
/
lighthouserc.yml
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
26
27
28
29
ci:
collect:
numberOfRuns: 1
url:
- https://localhost.simplereport.gov/app
- https://localhost.simplereport.gov/app?facility=$FACILITY_ID
- https://localhost.simplereport.gov/app/dashboard?facility=$FACILITY_ID
- https://localhost.simplereport.gov/app/queue?facility=$FACILITY_ID
- https://localhost.simplereport.gov/app/results/1?facility=$FACILITY_ID
- https://localhost.simplereport.gov/app/patients?facility=$FACILITY_ID
- https://localhost.simplereport.gov/app/add-patient?facility=$FACILITY_ID
- https://localhost.simplereport.gov/app/settings?facility=$FACILITY_ID
- https://localhost.simplereport.gov/app/settings/facilities?facility=$FACILITY_ID
- https://localhost.simplereport.gov/app/settings/add-facility/?facility=$FACILITY_ID
- https://localhost.simplereport.gov/app/upload-patients?facility=$FACILITY_ID
settings:
chromeFlags:
- "--ignore-certificate-errors"
preset: "desktop"
onlyCategories: ["performance", "accessibility"]
upload:
target: filesystem
outputDir: ./lighthouse
githubToken: ${{ secrets.GITHUB_TOKEN }}
assert:
assertions:
categories:performance: [error, {minScore: 0.3}]
categories:accessibility: [error, {minScore: 1}]
includePassedAssertions: true