forked from Shopify/lighthouse-ci-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
46 lines (46 loc) · 1.32 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
# 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:
app_id:
description: 'Shopify private app ID'
required: true
app_password:
description: 'Shopify private app password'
required: true
store:
description: '<domain>.myshopify.com URL'
required: true
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
runs:
using: 'docker'
image: 'Dockerfile'