ci(docs-infra): check and track payload sizes for test_aio_local
and test_aio_local_ivy
(#31047)
PR Close #31047
This commit is contained in:

committed by
Andrew Kushnir

parent
a6cb20cbe7
commit
c596795e64
@ -10,5 +10,29 @@
|
||||
"polyfills-es2015": 53295
|
||||
}
|
||||
}
|
||||
},
|
||||
"aio-local": {
|
||||
"master": {
|
||||
"uncompressed": {
|
||||
"runtime-es5": 3005,
|
||||
"runtime-es2015": 3011,
|
||||
"main-es5": 511054,
|
||||
"main-es2015": 450560,
|
||||
"polyfills-es5": 129161,
|
||||
"polyfills-es2015": 53295
|
||||
}
|
||||
}
|
||||
},
|
||||
"aio-local-ivy": {
|
||||
"master": {
|
||||
"uncompressed": {
|
||||
"runtime-es5": 2895,
|
||||
"runtime-es2015": 2901,
|
||||
"main-es5": 564586,
|
||||
"main-es2015": 582731,
|
||||
"polyfills-es5": 129161,
|
||||
"polyfills-es2015": 53295
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ set -eu -o pipefail
|
||||
|
||||
readonly thisDir=$(cd $(dirname $0); pwd)
|
||||
readonly parentDir=$(dirname $thisDir)
|
||||
readonly target=${1:-aio}
|
||||
|
||||
# Track payload size functions
|
||||
source ../scripts/ci/payload-size.sh
|
||||
@ -11,5 +12,4 @@ source ../scripts/ci/payload-size.sh
|
||||
# Provide node_modules from aio
|
||||
NODE_MODULES_BIN=$PROJECT_ROOT/aio/node_modules/.bin/
|
||||
|
||||
trackPayloadSize "aio" "dist/*.js" true true "${thisDir}/_payload-limits.json"
|
||||
|
||||
trackPayloadSize "$target" "dist/*.js" true true "${thisDir}/_payload-limits.json"
|
||||
|
Reference in New Issue
Block a user