forked from catchpoint/WebPageTest.github-action
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
31 lines (31 loc) · 1002 Bytes
/
action.yml
File metadata and controls
31 lines (31 loc) · 1002 Bytes
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
name: 'WebPageTest GitHub Action'
author: 'WebPageTest'
description: 'Automatically test code changes in WebPageTest and enforce performance budgets'
inputs:
apiKey:
description: 'WebPageTest API Token'
required: true
urls:
description: 'List of URL(s) to test'
required: true
budget:
description: 'Path to WebPageTest testspecs.json file'
required: false
label:
description: 'Label for test (shows up in WebPageTest)'
required: false
wptOptions:
description: 'Path to JSON file with WebPageTest test options (see https://github.com/marcelduran/webpagetest-api#test-works-for-runtest-method-only)'
required: false
baseBranch:
description: 'The base branch of the PR (if applicable) - should be the base_ref'
required: false
GITHUB_TOKEN:
description: 'Secret GitHub Token (automatically provided by GitHub)'
default: ${{ github.token }}
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'bar-chart-2'
color: 'blue'