We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d99b7c commit 27e5b5cCopy full SHA for 27e5b5c
.github/workflows/test.yml
@@ -38,3 +38,4 @@ jobs:
38
urls: |
39
http://localhost:8000/
40
http://localhost:8000/listing
41
+ lhConfigPath: ./.lighthouserc.js
action.yml
@@ -5,6 +5,9 @@ inputs:
5
urls:
6
description: 'List of URL(s) to analyze'
7
required: true
8
+ lhConfigPath:
9
+ description: 'Config passed to lighthouse ci action'
10
+ required: true
11
12
runs:
13
using: "composite"
@@ -22,7 +25,7 @@ runs:
22
25
id: lhci
23
26
uses: treosh/lighthouse-ci-action@v3
24
27
with:
- configPath: ./.lighthouserc.js
28
+ configPath: ${{inputs.lhConfigPath}}
29
urls: ${{inputs.urls}}
30
- name: Format lighthouse score
31
id: format_lhci_score
0 commit comments