From 8f15aa87913c80d6fd2734589217cde2a0b62419 Mon Sep 17 00:00:00 2001 From: Thaisrr <46489998+Thaisrr@users.noreply.github.com> Date: Mon, 2 Nov 2020 11:39:52 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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