forked from pkg-size/action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
26 lines (26 loc) · 936 Bytes
/
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
name: 'pkg-size-action'
description: 'Report npm package size on pull-requests'
author: 'Hiroki Osame <[email protected]>'
branding:
icon: 'git-pull-request'
color: 'blue'
inputs:
build-command:
description: 'Command to build the package with'
comment-report:
description: 'Whether to comment the build size report on the PR or not: true, false'
mode:
description: 'Report mode: regression (default), head-only'
display-size:
description: 'What size to display. Comma delimited list for multiple: uncompressed (default), gzip, brotli:'
unchanged-files:
description: 'Whether to show unchanged files: show, collapse, hide'
sort-by:
description: 'Which property to sort by: delta (size difference), headSize, baseSize, path'
sort-order:
description: 'Sort order: desc, asc'
hide-files:
description: 'Glob pattern to hide files with'
runs:
using: 'node12'
main: 'dist/index.js'