diff --git a/.circleci/config.yml b/.circleci/config.yml index feca58b..9b4c65e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,12 @@ workflows: jobs: - hello - install - - prettyfy + - prettyfy: + requires: + - install + - tests: + requires: + - install jobs: hello: docker: @@ -36,3 +41,15 @@ jobs: key: yarn-packages-{{ checksum "yarn.lock" }} paths: - ./node_modules + tests: + docker: + - image: cimg/node:14.10.1 + steps: + - checkout + - restore_cache: + key: yarn-packages-{{ checksum "yarn.lock" }} + - run: yarn test:ci + - save_cache: + key: yarn-packages-{{ checksum "yarn.lock" }} + paths: + - ./node_modules