From 2bf854551bcb1d83bf464180bb231aef2c4de8d7 Mon Sep 17 00:00:00 2001 From: Anatole-DC Date: Thu, 13 Jan 2022 17:47:56 +0100 Subject: [PATCH] :construction_worker: Add build step Add backend build step --- .circleci/config.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index e69de29..f06d44f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -0,0 +1,24 @@ +version: 2 +jobs: + build: &shared-config + docker: + - image: circleci/node:lts-fermium + working_directory: ~/repo + steps: + - checkout + - restore_cache: + keys: + - dependencies-{{ checksum "package.json" }}-v1 + # fallback to using the latest cache if no exact match is found + - dependencies- + - run: yarn install + - save_cache: + paths: + - node_modules + key: dependencies-{{ checksum "package.json" }}-v1 + +workflows: + version: 2 + build-test-and-lint: + jobs: + - build \ No newline at end of file