Skip to content

Commit

Permalink
#3 added assertions to local and pull-request config
Browse files Browse the repository at this point in the history
  • Loading branch information
mvogelgesang committed Jan 8, 2023
1 parent 9d969ae commit 32501d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
11 changes: 7 additions & 4 deletions lighthouserc_firebase.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
{
"ci": {
"upload": {
"target": "temporary-public-storage"
},
"assert": {
"assertions": {
"categories:accessibility": ["error", {"minScore": 1}],
"categories:best-practices": ["error", {"minScore": 1}],
"categories:performance": ["error", {"minScore": 0.95}],
"categories:accessibility": ["error", {"minScore": 1}]
"categories:pwa": ["error", {"minScore": 1}],
"categories:seo": ["error", {"minScore": 1}]
}
},
"upload": {
"target": "temporary-public-storage"
}
}
}
5 changes: 4 additions & 1 deletion lighthouserc_local.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
"ci": {
"assert": {
"assertions": {
"categories:accessibility": ["error", {"minScore": 1}],
"categories:best-practices": ["error", {"minScore": 1}],
"categories:performance": ["error", {"minScore": 0.95}],
"categories:accessibility": ["error", {"minScore": 1}]
"categories:pwa": ["error", {"minScore": 1}],
"categories:seo": ["error", {"minScore": 1}]
}
},
"collect": {
Expand Down

0 comments on commit 32501d0

Please sign in to comment.