ci(aio): verify that the Lighthouse PWA score remains above a threshold
This commit is contained in:

committed by
Pete Bacon Darwin

parent
a73050de48
commit
49d97e1216
@ -5,6 +5,7 @@ set +x -eu -o pipefail
|
||||
|
||||
|
||||
FIREBASE_PROJECT_ID=aio-staging
|
||||
DEPLOYED_URL=https://$FIREBASE_PROJECT_ID.firebaseapp.com
|
||||
|
||||
cd "`dirname $0`/.."
|
||||
|
||||
@ -15,4 +16,7 @@ yarn build
|
||||
firebase use "$FIREBASE_PROJECT_ID" --token "$FIREBASE_TOKEN"
|
||||
firebase deploy --message "Commit: $TRAVIS_COMMIT" --non-interactive --token "$FIREBASE_TOKEN"
|
||||
|
||||
# Run PWA-score tests
|
||||
yarn test-pwa-score -- "$DEPLOYED_URL" "$MIN_PWA_SCORE_STAGING"
|
||||
|
||||
cd -
|
||||
|
Reference in New Issue
Block a user