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:
George Kalpakas
2019-06-14 13:01:37 +03:00
committed by Andrew Kushnir
parent a6cb20cbe7
commit c596795e64
3 changed files with 30 additions and 2 deletions

View File

@ -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"