forked from treosh/lighthouse-ci-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
39 lines (39 loc) · 1.34 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: 'Lighthouse CI Action'
description: 'Audit URLs using Lighthouse and test performance with Lighthouse CI'
inputs:
urls:
description: 'List of URL(s) to analyze'
budgetPath:
description: 'Path to a Lighthouse budgets.json file'
configPath:
description: 'Path to a LHCI lighthouserc.json file'
uploadArtifacts:
description: 'Opt-out of saving Lighthouse results as an action artifacts'
artifactName:
description: 'Name of the artifact group if using uploadArtifacts. default: lighthouse-results'
default: lighthouse-results
temporaryPublicStorage:
descripton: 'Opt-in to saving Lighthouse results to temporary public storage'
runs:
description: 'Number of runs to do per URL'
serverBaseUrl:
description: 'Address of a LHCI server'
serverToken:
description: 'API token to push to LHCI server'
basicAuthUsername:
description: 'Basic auth username for LHCI server'
basicAuthPassword:
description: 'Basic auth password for LHCI server'
outputs:
resultsPath:
description: 'Path to the folder with LHCI results'
links:
description: 'Links to compare/result UI for each URL (content of links.json)'
assertionResults:
description: 'Assertion results (content of assertion-results.json)'
runs:
using: 'node16'
main: 'src/index.js'
branding:
icon: 'bar-chart-2'
color: 'gray-dark'