Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tommm2 committed Mar 26, 2024
1 parent bc25022 commit 17d1e57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
- name: Run lighthouseci
run: |
pnpm add -g @lhci/cli@0.13.x
lhci autorun --collect.staticDistDir=out
lhci autorun
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
12 changes: 8 additions & 4 deletions lighthouserc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"ci": {
"collect": {
"numberOfRuns": 1,
"settings": {
"preset": "lighthouse:recommended"
}
"startServerCommand": "npm run start",
"startServerReadyPattern": "ready on",
"url": [
"http://localhost:3000"
],
"settings": {
"preset": "desktop"
}
},
"assert": {
"assertions": {
Expand Down

0 comments on commit 17d1e57

Please sign in to comment.