From 464affa44f49500ea20a862e3b687d6e034a4503 Mon Sep 17 00:00:00 2001 From: Gautier couture <2017566295@lacatholille.fr> Date: Wed, 13 Jan 2021 14:15:03 +0100 Subject: [PATCH] add circleci manually :wrench: --- .circleci/config.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..4b0ca8e --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,33 @@ + +version: 2.1 +jobs: + install: + docker: + - image: circleci/node:12.9-browsers + steps: + - checkout + - 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: + - node_modules + test: + docker: + - image: circleci/node:12.9-browsers + steps: + - checkout + - 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