forked from foo-software/lighthouse-check-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
61 lines (61 loc) · 3.09 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: 'Lighthouse Check'
description: 'GitHub Action for running one or multiple Lighthouse audits featuring PR comments, Slack notifications and more!'
inputs:
apiToken:
description: 'The automated-lighthouse-check.com account API token found in the dashboard.'
author:
description: 'For Slack notifications: A user handle, typically from GitHub.'
awsAccessKeyId:
description: 'The AWS accessKeyId for an S3 bucket.'
awsBucket:
description: 'The AWS Bucket for an S3 bucket.'
awsRegion:
description: 'The AWS region for an S3 bucket.'
awsSecretAccessKey:
description: 'The AWS secretAccessKey for an S3 bucket.'
branch:
description: 'For Slack notifications: A version control branch, typically from GitHub.'
configFile:
description: 'A configuration file path in JSON format which holds all options defined here. This file should be relative to the file being interpretted. In this case it will most likely be the root of the repo ("./")'
emulatedFormFactor:
description: 'Lighthouse setting only used for local audits. See lighthouse-check NPM module for details.'
extraHeaders:
description: 'Stringified HTTP Header object key/value pairs to send in requests.'
locale:
description: 'A locale for Lighthouse reports. Example: ja'
outputDirectory:
description: 'An absolute directory path to output report. You can do this an an alternative or combined with an S3 upload.'
overridesJsonFile:
description: 'A JSON file with config and option fields to overrides defaults.'
pr:
description: 'For Slack notifications: A version control pull request URL, typically from GitHub.'
prCommentEnabled:
description: 'If true and accessToken is set scores will be posted as comments.'
prCommentSaveOld:
description: 'If true and PR comment options are set, new comments will be posted on every change vs only updating once comment with most recent scores.'
accessToken:
description: 'Access token of a user to post PR comments.'
sha:
description: 'For Slack notifications: A version control sha, typically from GitHub.'
slackWebhookUrl:
description: 'A Slack Incoming Webhook URL to send notifications to.'
tag:
description: 'An optional tag or name (example: "build #2" or "v0.0.2").'
throttlingMethod:
description: 'Lighthouse setting only used for local audits. See lighthouse-check NPM module comments for details.'
throttling:
description: 'Lighthouse setting only used for local audits. See lighthouse-check NPM module comments for details.'
timeout:
description: 'Minutes to timeout for remote runs. If "wait" option is "true" (it is by default), we wait for results. If this timeout is met before results are received an error is thrown.'
urls:
description: 'A comma-separated list of URLs (or page API tokens if running remotely).'
verbose:
description: 'If yes, logs output along each step.'
wait:
description: 'If "true", for remote runs, waits for all audit results to be returned, otherwise URLs are only enqueued.'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'zap'
color: 'green'