Skip to content

Commit

Permalink
refactor: lighthouse.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bmukesh23 committed Dec 18, 2024
1 parent 2ba753b commit 8c029f4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Lighthouse CI
on:
push:
branches:
- master # or the branch you're working with
- master
pull_request:
branches:
- master # or the branch you're working with
- master

jobs:
lighthouse:
Expand All @@ -33,7 +33,11 @@ jobs:

# Run Lighthouse CI to generate the report
- name: Run Lighthouse CI
run: npx lhci autorun
run: npx lhci autorun --output-path=lhci-report

# Check the contents of the lhci-report folder
- name: List lhci-report folder contents
run: ls -la lhci-report

# Update README with Lighthouse scores
- name: Update README with Lighthouse scores
Expand Down

0 comments on commit 8c029f4

Please sign in to comment.