From 8a719ebae285558eef0c8fbcee6f939ef07e9390 Mon Sep 17 00:00:00 2001 From: Alexandre SOARES <72209227+AS-37@users.noreply.github.com> Date: Sun, 9 Jan 2022 17:12:44 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20CI=20Build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding a CI --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..9d7a4ca --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +workflows: + my_workflow: + jobs: + - build + - test +version: 2 +jobs: + build: + steps: + - checkout # check out the code in the project directory + - run: yarn install + - save_cache: + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + paths: + - node_modules #ça marche jusqu'ici pour l'instant + test: + docker: + - image: cimg/node:14.15.0 # the primary container, where your job's commands are run + auth: + username: xaela37 + password: $DOCKERHUB_PASSWORD # context / project UI env-var reference + steps: + - checkout # check out the code in the project directory + - restore_cache: + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + \ No newline at end of file