diff --git a/.circleci/config.yml b/.circleci/config.yml index caa0eec..56eefb0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,7 +24,18 @@ jobs: key: yarn-V1-packages-{{ checksum "yarn.lock" }} paths: - ~/.node_modules - + test: + docker: + - image: "circleci/node:12" # the primary container, where your job's commands are run + steps: + - checkout # check out the code in the project directory + - restore_cache: + key: yarn-V1-packages-{ checksum "yarn.lock" }} + - run: yarn test:ci + - save_cache: + key: yarn-V1-packages-{{ checksum "yarn.lock" }} + paths: + - ~/.node_modules