From fcec21f930b89336416ebefc4c5d884ddacab28d Mon Sep 17 00:00:00 2001 From: Louis Dutoit Date: Mon, 11 Jan 2021 14:41:24 +0100 Subject: [PATCH] :construction_worker: add config --- .circleci/config.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..c5adf51 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,23 @@ +version: 2.1 +workflows: + version: 2 + devopsTP1: + jobs: + - build +jobs: + build: + docker: &config + - image: cimg/node:12.18.4 + auth: + username: mydockerhub-user + password: $DOCKERHUB_PASSWORD + steps: + - checkout + - restore_cache: + keys: + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: yarn install + - save_cache: + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + paths: + - ./node_modules \ No newline at end of file