forked from Shopify/lighthouse-ci-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
56 lines (56 loc) · 1.78 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
# action.yml
name: 'Run Lighthouse CI on Shopify theme'
branding:
icon: shopping-bag
colour: green
description: 'Run Lighthouse CI on Shopify themes directly from GitHub'
inputs:
access_token:
description: 'Custom app access token'
# required: false because you can still authenticate with private
# app credentials
required: false
store:
description: '<domain>.myshopify.com URL'
required: true
store_web_url:
description: 'Front shop URL'
required: false
password:
description: 'Password-protected shop password'
required: false
product_handle:
description: 'Product handle for product page test (default: first product).'
required: false
collection_handle:
description: 'Collection handle for collection page test (default: first collection).'
required: false
theme_root:
description: 'The root folder for the theme files that will be uploaded (default: ".")'
required: false
default: '.'
lhci_github_app_token:
description: 'Lighthouse CI GitHub app token'
required: false
lhci_github_token:
description: 'GitHub personal access token'
required: false
lhci_min_score_performance:
description: 'Minimum performance score'
required: false
default: 0.6
lhci_min_score_accessibility:
description: 'Minimum accessibility score'
required: false
default: 0.9
app_id:
description: '(deprecated) Shopify private app ID'
depreciationMessage: Shopify private apps are deprecated. Use a Custom App `access_token` instead.
required: false
app_password:
description: '(deprecated) Shopify private app password'
depreciationMessage: Shopify private apps are deprecated. Use a Custom App `access_token` instead.
required: false
runs:
using: 'docker'
image: 'Dockerfile'