ci(aio): upload the preview before checking the bundle sizes (#23123)
This makes the preview available even if the bundle sizes are out of limits. PR Close #23123
This commit is contained in:
parent
524e5d8ae7
commit
ce43e96d49
|
@ -30,7 +30,6 @@ readonly relevantChangedFilesCount=$(git diff --name-only $TRAVIS_COMMIT_RANGE |
|
|||
yarn build
|
||||
fi
|
||||
tar --create --gzip --directory "$INPUT_DIR" --file "$OUTPUT_FILE" .
|
||||
yarn payload-size
|
||||
|
||||
# Deploy to staging
|
||||
readonly output=$(
|
||||
|
@ -53,4 +52,7 @@ readonly relevantChangedFilesCount=$(git diff --name-only $TRAVIS_COMMIT_RANGE |
|
|||
if [[ $httpCode -ne 202 ]] && [[ "$isHidden" != "true" ]]; then
|
||||
yarn test-pwa-score "$DEPLOYED_URL" "$MIN_PWA_SCORE"
|
||||
fi
|
||||
|
||||
# Check the bundle sizes.
|
||||
yarn payload-size
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue