generated from snapshift/action-triaging
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
42 lines (42 loc) · 1.47 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
name: 'action-check-compressed-size'
description: 'Get compressed size differences for every PR'
author: 'Arhia'
branding:
icon: 'archive'
color: 'purple'
inputs:
directory:
description: "Directery where to run install and build. Default is ."
default: '.'
repo-token:
description: 'The GITHUB_TOKEN secret'
required: true
build-script:
description: 'The npm-script to run that builds your project'
default: 'build'
compression:
description: 'The compression algorithm to use: "gzip" or "brotli"'
show-total:
description: 'Show total size and difference.'
default: 'true'
collapse-unchanged:
description: 'Move unchanged files into a separate collapsed table'
default: 'true'
omit-unchanged:
description: 'Exclude unchanged files from the sizes table entirely'
strip-hash:
description: 'A regular expression to remove hashes from filenames. Submatches are turned into asterisks if present, otherwise the whole match is removed.'
use-check:
description: 'Report status as a CI Check instead of using a comment [experimental]'
minimum-change-threshold:
description: 'Consider files with changes below this threshold as unchanged. Specified in bytes.'
default: 1
pattern:
description: 'minimatch pattern of files to track'
default: '**/dist/**/*.js'
exclude:
description: 'minimatch pattern of files NOT to track'
default: '{**/*.map,**/node_modules/**}'
runs:
using: 'node20'
main: 'dist/index.js'