test: check payload size for cli-hello-world-ivy (#27797)
Adds size bundle checking to the integration test `cli-hello-world-ivy` PR Close #27797
This commit is contained in:
parent
62e45cef2d
commit
3f64e87ed1
@ -8,6 +8,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"cli-hello-world-ivy": {
|
||||||
|
"master": {
|
||||||
|
"uncompressed": {
|
||||||
|
"runtime": 1440,
|
||||||
|
"main": 507677,
|
||||||
|
"polyfills": 38390
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"hello_world__closure": {
|
"hello_world__closure": {
|
||||||
"master": {
|
"master": {
|
||||||
"uncompressed": {
|
"uncompressed": {
|
||||||
|
@ -48,9 +48,9 @@ for testDir in $(ls | grep -v node_modules) ; do
|
|||||||
yarn install --cache-folder ../$cache
|
yarn install --cache-folder ../$cache
|
||||||
yarn test || exit 1
|
yarn test || exit 1
|
||||||
|
|
||||||
# Track payload size for cli-hello-world and hello_world__closure and the render3 tests
|
# Track payload size for cli-hello-world, cli-hello-world-ivy and hello_world__closure
|
||||||
if $CI && ([[ $testDir == cli-hello-world ]] || [[ $testDir == hello_world__closure ]]); then
|
if $CI && ([[ $testDir == cli-hello-world ]] || [[ $testDir == cli-hello-world-ivy ]] || [[ $testDir == hello_world__closure ]]); then
|
||||||
if [[ $testDir == cli-hello-world ]]; then
|
if ([[ $testDir == cli-hello-world ]] || [[ $testDir == cli-hello-world-ivy ]]); then
|
||||||
yarn build
|
yarn build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user