diff --git a/scripts/ci/test-aio.sh b/scripts/ci/test-aio.sh index 11d7967b76..84bfe46fbb 100755 --- a/scripts/ci/test-aio.sh +++ b/scripts/ci/test-aio.sh @@ -24,13 +24,17 @@ source ${thisDir}/_travis-fold.sh yarn test-pwa-score-localhost travisFoldEnd "test.aio.pwaScore" + # Check the bundle sizes. + # (Run before unit and e2e tests, which destroy the `dist/` directory.) + travisFoldStart "test.aio.payload-size" + yarn payload-size + travisFoldEnd "test.aio.payload-size" # Run unit tests travisFoldStart "test.aio.unit" yarn test travisFoldEnd "test.aio.unit" - # Run e2e tests travisFoldStart "test.aio.e2e" yarn e2e