From 42c5dfd6f386fe9c139ba20598cb862f7ee568e2 Mon Sep 17 00:00:00 2001 From: Pavel Pustovalov Date: Thu, 13 Jun 2019 00:07:46 +0300 Subject: [PATCH] Polish circle config for mobx4 (#2000) --- .circleci/config.yml | 11 +++++++++++ package.json | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a0b6dddef..3b274b3d7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -84,6 +84,14 @@ jobs: - run: yarn test:webpack + test-es5: + executor: my-executor + steps: + - attach_workspace: + at: . + + - run: yarn test:es5 + test-size: executor: my-executor steps: @@ -129,6 +137,9 @@ workflows: - test-webpack: requires: - build + - test-es5: + requires: + - build - test-size: requires: - build diff --git a/package.json b/package.json index 2def1454a..2f7e5a9ee 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "test:webpack": "node scripts/webpack-regression-tests.js", "test:flow": "node_modules/.bin/flow check", "test:performance": "npm run small-build && PERSIST=true time node --expose-gc test/perf/index.js", - "test:ci": "yarn test:all && yarn test:performance && yarn test -i --coverage && yarn test:webpack && yarn size", - "test:es5": "yarn small-build && es-check es5 lib/mobx.js", + "test:ci": "yarn test:all && yarn test:performance && yarn test -i --coverage && test:es5 && yarn test:webpack && yarn size", + "test:es5": "yarn es-check es5 lib/mobx.js", "prettier": "prettier \"**/*.js\" \"**/*.jsx\" \"**/*.tsx\" \"**/*.ts\"", "_prepublish": "yarn small-build", "quick-build": "tsc --pretty",