Skip to content

Commit a7ff7f3

Browse files
committed
fix: add configuration and test for deployed pr
1 parent 5f4a2ee commit a7ff7f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: .github/lighthouse/lighthouserc.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"ci": {
33
"collect": {
4-
"numberOfRuns": 2,
5-
"startServerCommand": "npm run serve"
4+
"numberOfRuns": 2
65
},
76
"assert": {
87
"preset": "lighthouse:recommended",

Diff for: .github/workflows/lighthouse.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
- name: Lighthouse CI
4040
run: |
4141
npm install -g @lhci/[email protected]
42-
lhci autorun
42+
lhci autorun --config=.github/lighthouse/lighthouserc.json
43+
lhci autorun --config=.github/lighthouse/lighthouserc.json --upload.target=temporary-public-storage --collect.url=${{ steps.waitFor200.outputs.url }} || echo "LHCI failed!"
4344
env:
4445
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
4546

0 commit comments

Comments
 (0)