Skip to content

Commit

Permalink
ci: Switch to simple file-size bundle limits
Browse files Browse the repository at this point in the history
Run-time metrics were too inconsistent in GH actions to be useful. Sticking to some conservative size-based limits instead and will rely on Lighthouse/CWV for performance metrics.
  • Loading branch information
delucis committed May 15, 2023
1 parent e96d9a7 commit 5697de7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 149 deletions.
10 changes: 4 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"astro": "^2.4.3"
},
"devDependencies": {
"@size-limit/preset-app": "^8.2.4",
"@size-limit/file": "^8.2.4",
"pa11y-ci": "^3.0.1",
"size-limit": "^8.2.4",
"start-server-and-test": "^2.0.0"
Expand All @@ -27,19 +27,17 @@
{
"name": "/index.html",
"path": "dist/index.html",
"limit": "350 ms",
"running": false
"limit": "13 kB"
},
{
"name": "/_astro/*.js",
"path": "dist/_astro/*.js",
"limit": "750 ms"
"limit": "20 kB"
},
{
"name": "/_astro/*.css",
"path": "dist/_astro/*.css",
"limit": "250 ms",
"running": false
"limit": "11 kB"
}
]
}
144 changes: 1 addition & 143 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5697de7

Please sign in to comment.