generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
37 lines (37 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
25
26
27
28
29
30
31
32
33
34
35
36
37
name: 'PageSpeed Insights Action'
description: 'This is an action that outputs PageSpeed Insights results.'
author: 'stefafafan'
inputs:
url:
required: true
description: 'The URL to fetch PageSpeed Insights results.'
key:
required: true
description: 'API Key for the PageSpeed Insights API.'
strategy:
required: false
description: 'Strategy to fetch PageSpeed Insights results. "mobile" or "desktop".'
default: 'desktop'
outputs:
score:
description: 'Overall score of the url. Maximum is 100.'
first-contentful-paint:
description: 'First Contentful Paint (FCP) in milliseconds.'
first-input-delay:
description: 'First Input Delay (FID) in milliseconds.'
cumulative-layout-shift:
description: 'Cumulative Layout Shift (CLS) score.'
largest-contentful-paint:
description: 'Largest Contentful Paint (LCP) in milliseconds.'
speed-index:
description: 'Speed Index score. Maximum is 100.'
time-to-interactive:
description: 'Time to Interactive score. Maximum is 100.'
total-blocking-time:
description: 'Total Blocking Time score. Maximum is 100.'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'trending-up'
color: 'blue'