Skip to content

Commit

Permalink
fix: lighthouse.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tommm2 committed Jul 5, 2024
1 parent 57749f3 commit d418ea8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
- name: Add Comment to PR
# Signal that a lighthouse run is about to start
uses: thollander/actions-comment-pull-request@v2
with:
node-version: 20
message: |
Running Lighthouse audit...
# Used later to edit the existing comment
comment_tag: 'lighthouse_audit'

- name: Capture Vercel Preview
uses: patrickedqvist/[email protected]
Expand All @@ -37,6 +41,7 @@ jobs:

- name: Audit Preview URL with Lighthouse
uses: treosh/lighthouse-ci-action@v11
id: lighthouse_audit
with:
configPath: './.lighthouserc.json'
urls:
Expand Down

0 comments on commit d418ea8

Please sign in to comment.