Skip to content

Commit

Permalink
fix: tweak lighthouse budgets and urls
Browse files Browse the repository at this point in the history
  • Loading branch information
sniperadmin committed May 7, 2020
1 parent 2d07b64 commit ea87696
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/lighthouse/budget.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceSizes": [
{
"resourceType": "script",
"budget": 500
"budget": 300
},
{
"resourceType": "stylesheet",
Expand All @@ -16,7 +16,7 @@
},
{
"resourceType": "image",
"budget": 50
"budget": 250
},
{
"resourceType": "third-party",
Expand All @@ -32,7 +32,7 @@
},
{
"resourceType": "total",
"budget": 650
"budget": 750
}
],
"timings": [
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ jobs:
uses: treosh/lighthouse-ci-action@v2
with:
# List of URL(s) to analyze
urls: 'https://ui.ambianic.ai/'
urls: |
https://ui.ambianic.ai/
http://localhost:8080/
budgetPath: '.github/lighthouse/budget.json' # test performance budgets
configPath: '.github/lighthouse/lighthouserc.json'
# Path to a LHCI lighthouserc.json file
Expand Down

0 comments on commit ea87696

Please sign in to comment.