-
Notifications
You must be signed in to change notification settings - Fork 21
/
action.yml
33 lines (32 loc) · 1.13 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
name: 'Bundle comparison'
description: 'Compare the bundle size between the base branch and the current branch'
inputs:
current-stats-json-path:
description: 'The path to the current stats.json file'
required: true
base-stats-json-path:
description: 'The path to the base stats.json file'
required: true
github-token:
description: 'The Github token'
required: true
title:
description: 'An optional addition to the title, which also helps key comments, useful if running more than 1 copy of this action'
required: false
describe-assets:
description: |
Optional specification describing asset changes. May be one of the convenience
keywords "all", "none", or "changed-only" (for all except the unchanged section), OR
a string of space-separated section names, e.g. "added bigger unchanged", where
all sections are:
- added
- removed
- bigger
- smaller
- unchanged
If not provided, "all" is used (equivalent to "added removed bigger smaller unchanged")
required: false
default: 'all'
runs:
using: 'node20'
main: 'dist/index.js'