From 36f8d8ee6eb2c65e91ebc46d93e6e284a0b4042c Mon Sep 17 00:00:00 2001 From: abouhanifa Date: Sun, 28 Mar 2021 15:08:55 +0200 Subject: [PATCH] :wrench: add build command --- .circleci/config.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fe445f7..2ffa99d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,9 +41,32 @@ jobs: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: yarn format:write && yarn format:check + build: + docker: + - image: node:10.18.0 + + working_directory: ~/repo + + steps: + - checkout + - restore_cache: + keys: + - v1-dependencies-{{ checksum "package.json" }} + - v1-dependencies- + + - run: yarn install + + - save_cache: + paths: + - node_modules + key: v1-dependencies-{{ checksum "package.json" }} + - run: yarn run build workflows: project_workflows: jobs: - test - - check_format \ No newline at end of file + - check_format + - build: + requires: + - test \ No newline at end of file