-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
24 lines (24 loc) · 1.19 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
name: 'Web Performance Audits with Lighthouse'
description: 'Audit web performance with Lighthouse and post audit summary comment on a pull request.'
inputs:
url:
description: 'Page URL'
wptConnectionSpeed:
description: 'WPT connection speed profile: twog, threegslow, threeg, threegfast, fourg, lte'
lighthouseConfiguration:
description: 'File path to custom lighthouse configuration JavaScript file. See https://github.com/GoogleChrome/lighthouse/blob/master/docs/configuration.md'
lighthouseBudget:
description: 'File path to custom budget.json file; will fail PRs based on budget result. See https://developers.google.com/web/tools/lighthouse/audits/budgets'
secret:
description: 'This should be the default secrets.GITHUB_TOKEN so that we can send comments to your PRs.'
lighthouseScoringBudget:
description: 'File path to custom scores.js file; will fail PRs based on scoring result. See the above section in this README "Using scores.js to increase your audit power" for more information.'
outputs:
resultsPath:
description: 'Path to the folder with Lighthouse audit results'
runs:
using: 'node16'
main: 'src/index.js'
branding:
icon: 'aperture'
color: 'blue'