From 852bd9631fd3c6b36000a945d58164191a293f72 Mon Sep 17 00:00:00 2001 From: Gautier couture <2017566295@lacatholille.fr> Date: Wed, 13 Jan 2021 14:17:35 +0100 Subject: [PATCH] try yarn test implementation :wrench: --- .circleci/config.yml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4b0ca8e..bfa3edc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,33 +1,34 @@ - + version: 2.1 -jobs: - install: +jobs: + Installation: docker: - image: circleci/node:12.9-browsers - steps: + steps: - checkout - - restore_cache: - keys: + - restore_cache: + keys: - yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }} - yarn-packages - run: yarn global add node-gyp && yarn install - save_cache: key: yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }} - paths: + paths: - node_modules - test: + Test: docker: - image: circleci/node:12.9-browsers - steps: + steps: - checkout - - restore_cache: - keys: + - restore_cache: + keys: - yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }} - run: name: Test command: yarn test workflows: - Build_Test_N_Deploy: - jobs: - - install \ No newline at end of file + Build_Test_N_Deploy: + jobs: + - Installation + - Test