Skip to content

Commit 61c52b4

Browse files
committed
Add budget to LH
1 parent ca9a330 commit 61c52b4

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/budget.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"path": "/*",
4+
"resourceSizes": [
5+
{
6+
"resourceType": "script",
7+
"budget": 50
8+
}
9+
]
10+
}
11+
]

.github/workflows/lighthouse.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
runs: 3
4646
temporaryPublicStorage: true
4747
configPath: ./.github/workflows/lighthouserc.json
48+
budgetPath: ./.github/workflows/budget.json
4849
urls: |
4950
https://mars-theme-frontity.worona.now.sh/
5051
https://mars-theme-frontity.worona.now.sh/2016/the-beauties-of-gullfoss/

0 commit comments

Comments
 (0)