From aaafef9393e6695cf07586d156ec4f62bd6de4f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Herrera=20Guzm=C3=A1n?= Date: Sat, 28 Jul 2018 16:59:54 +0200 Subject: [PATCH] chore: add step to control the bundle sizes (cherry picked from commit 5d132f1) --- .circleci/config.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 44e4ccf14..28b89c640 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -148,6 +148,15 @@ jobs: name: Test End-to-End command: yarn run test:e2e + test_size: + <<: *defaults + <<: *default_executor + steps: + - *restore_repo + - run: + name: Test size + command: yarn test:size + coverage: <<: *defaults <<: *default_executor @@ -218,6 +227,10 @@ workflows: requires: - prepare <<: *ignore_non_dev_branches + - test_size: + requires: + - prepare + <<: *ignore_non_dev_branches - coverage: requires: - test_node6 @@ -225,6 +238,7 @@ workflows: - test_node9 - test_node10 - test_e2e + - test_size <<: *ignore_non_dev_branches - publish_gh_pages: requires: @@ -233,6 +247,7 @@ workflows: - test_node9 - test_node10 - test_e2e + - test_size <<: *execute_on_release - publish_package: requires: