generated from actions/typescript-action
/
action.yml
43 lines (43 loc) · 1.16 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
name: 'PageSpeed Insights'
description: 'Action that wraps a call to the PageSpeed Insights API and returns the data'
author: 'wicksipedia'
branding:
icon: aperture
color: gray-dark
inputs:
url:
description: "The URL to run the check against"
required: true
key:
description: "A PageSpeed Insights API key"
required: true
categories:
description: "Categories of checks to run (accessibility, best_practices, performance, pwa, seo)."
required: false
default: performance
strategy:
description: "Strategy to use when analyzing the page (mobile/desktop)."
required: false
default: mobile
maximumNumberOfRetries:
description: Maximum number of times to call API before failing the action
required: false
default: 3
delayBetweenRetries:
description: Duration in ms to wait before retrying
required: false
default: 3000
outputs:
accessibility:
description: accessibility output
best_practices:
description: best_practices output
performance:
description: performance output
pwa:
description: pwa output
seo:
description: seo output
runs:
using: 'node20'
main: 'dist/index.js'