From 9d905ee585e8dd1de6de7645b53a27c13d922a05 Mon Sep 17 00:00:00 2001 From: Naveen Jain Date: Fri, 21 Jun 2019 22:19:26 +0530 Subject: [PATCH] Added build step in circle CI --- .circleci/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 627da658..41ebcb73 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,18 @@ version: 2 jobs: + build: + docker: + - image: circleci/node:latest + steps: + - checkout + - setup_remote_docker + - run: npm install + - run: + name: Docker compose up + command: | + set -ex + docker-compose up -d + curl localhost:3000 storage: docker: - image: circleci/node:latest @@ -57,5 +70,6 @@ workflows: version: 2 everything: jobs: + - build - storage - cli