ci(aio): updated limits
This commit is contained in:
parent
2e55857c82
commit
fa85389f62
|
@ -1,8 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -u -e -o pipefail
|
||||
|
||||
declare -A limitUncompressed
|
||||
limitUncompressed=(["0"]=16000 ["inline"]=1600 ["main"]=360000 ["polyfills"]=40000 ["vendor"]=520000)
|
||||
limitUncompressed=(["inline"]=1600 ["main"]=600000 ["polyfills"]=40000)
|
||||
declare -A limitGzip7
|
||||
limitGzip7=(["0"]=7000 ["inline"]=1000 ["main"]=60000 ["polyfills"]=13000 ["vendor"]=120000)
|
||||
limitGzip7=(["inline"]=1000 ["main"]=140000 ["polyfills"]=12000)
|
||||
declare -A limitGzip9
|
||||
limitGzip9=(["0"]=7000 ["inline"]=1000 ["main"]=60000 ["polyfills"]=13000 ["vendor"]=120000)
|
||||
limitGzip9=(["inline"]=1000 ["main"]=140000 ["polyfills"]=12000)
|
||||
|
|
|
@ -50,7 +50,7 @@ payloadData="$payloadData\"timestamp\": $timestamp, "
|
|||
allChangedFiles=$(git diff --name-only $TRAVIS_COMMIT_RANGE)
|
||||
yarnChangedFiles=$(git diff --name-only $TRAVIS_COMMIT_RANGE | grep yarn.lock)
|
||||
|
||||
if [ $allChangedFiles ] && [ $yarnChangedFiles ] && [ "$allChangedFiles" -ne "$yarnChangedFiles" ]; then
|
||||
if [[ $allChangedFiles ]] && [[ $yarnChangedFiles ]] && [ "$allChangedFiles" -ne "$yarnChangedFiles" ]; then
|
||||
change='local+dependencies'
|
||||
elif [[ ! -z $yarnChangedFiles ]]; then
|
||||
change='dependencies'
|
||||
|
|
Loading…
Reference in New Issue