remove-sizewatcher (#1400)

This commit is contained in:
Ömer Faruk Özdemir 2022-05-27 11:06:23 +03:00 committed by GitHub
parent 55db5c187a
commit d117ad0049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 53 deletions

View File

@ -1,26 +0,0 @@
name: gradio-sizewatcher
on:
push:
branches:
- "main"
paths:
- "**"
pull_request:
paths:
- "**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '14'
# ---------- this runs sizewatcher ------------
- run: npx @adobe/sizewatcher
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,27 +0,0 @@
report:
# to report a github commit status (will block PR if it fails)
# default: false
githubStatus: true
# to report a comment on the github PR
# default: true
githubComment: false
# 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: 10 MB
# when to warn - default: 30%
warn: 1 MB
# below the ok limit you will get a cheers for making it notably smaller
# default: -10%
ok: -1 MB
comparators:
# set a comparator "false" to disable it
git: false