forked from satoshiotomakan/wallet-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.sizewatcher.yml
More file actions
25 lines (23 loc) · 800 Bytes
/
Copy path.sizewatcher.yml
File metadata and controls
25 lines (23 loc) · 800 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
# global thresholds when to warn or fail a build
# note that one failing or warning comparator is enough to fail or warn
# can be either
# - percentage: "50%" ("-10%" for size decrease)
# - absolute limit, as byte string: "10 MB", "5 KB"
# see https://www.npmjs.com/package/xbytes
# - absolute limit, as byte number: 1000000
limits:
# when to fail - default: 100%
fail: 50%
# when to warn - default: 30%
warn: 10%
# below the ok limit you will get a cheers for making it notably smaller
# default: -10%
ok: -5%
# configure individual comparators
# see list below for available comparators - use exact names as yaml keys
# by default all comparators run if they detect their content is present
comparators:
git: false
custom:
- name: My artifact
path: tmp/artifact.txt