aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-05 06:03:14 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-05 06:03:14 +0800
commit1e3ab76e9a6e4f50b105c62f7930408fae1cc661 (patch)
tree96df72933dd182f32b625fdb8099d40d5eba68e2 /.circleci/config.yml
parentba2ba628e815c996582c6ead81f657a14a00abd0 (diff)
parentab28e6af3507d7eea163e37730e68a101b525237 (diff)
downloaddexon-0x-contracts-1e3ab76e9a6e4f50b105c62f7930408fae1cc661.tar.gz
dexon-0x-contracts-1e3ab76e9a6e4f50b105c62f7930408fae1cc661.tar.zst
dexon-0x-contracts-1e3ab76e9a6e4f50b105c62f7930408fae1cc661.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/redux-styles-container
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml19
1 files changed, 13 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index f288a46e6..31954c608 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -17,16 +17,20 @@ jobs:
- run:
name: yarn
command: yarn --frozen-lockfile install || yarn --frozen-lockfile install
- - run: >
- if [ -z "$(git diff --name-only development packages/website)" ]; then
- yarn build:ci:no_website
- else
- yarn build:ci
- fi
+ - run: yarn build:ci:no_website
- save_cache:
key: repo-{{ .Environment.CIRCLE_SHA1 }}
paths:
- ~/repo
+ build-website:
+ docker:
+ - image: circleci/node:9
+ working_directory: ~/repo
+ steps:
+ - restore_cache:
+ keys:
+ - repo-{{ .Environment.CIRCLE_SHA1 }}
+ - run: cd packages/website && yarn build
test-contracts-ganache:
docker:
- image: circleci/node:9
@@ -234,6 +238,9 @@ workflows:
main:
jobs:
- build
+ - build-website:
+ requires:
+ - build
- test-contracts-ganache:
requires:
- build