ci(docs-infra): move the payload-size check to the test job
This commit is contained in:
parent
ec3ecfcdf1
commit
98e3ef4003
@ -24,13 +24,17 @@ source ${thisDir}/_travis-fold.sh
|
|||||||
yarn test-pwa-score-localhost
|
yarn test-pwa-score-localhost
|
||||||
travisFoldEnd "test.aio.pwaScore"
|
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
|
# Run unit tests
|
||||||
travisFoldStart "test.aio.unit"
|
travisFoldStart "test.aio.unit"
|
||||||
yarn test --single-run
|
yarn test --single-run
|
||||||
travisFoldEnd "test.aio.unit"
|
travisFoldEnd "test.aio.unit"
|
||||||
|
|
||||||
|
|
||||||
# Run e2e tests
|
# Run e2e tests
|
||||||
travisFoldStart "test.aio.e2e"
|
travisFoldStart "test.aio.e2e"
|
||||||
# Use `production` mode to catch issues introduced by build optimizations.
|
# Use `production` mode to catch issues introduced by build optimizations.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user