aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-05 01:30:54 +0800
committerGitHub <noreply@github.com>2018-10-05 01:30:54 +0800
commit2da7626b5356f7b0ec809719f1b9da14b2969a07 (patch)
tree4359f2994d2b3d0ec3f82098f9415fd010ea9a26 /.circleci/config.yml
parentf7917cfa659452981df8233248283ca760d870a1 (diff)
parent98db4b154343127bdecbbb1e72f8ef1bb49b494e (diff)
downloaddexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.tar
dexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.tar.gz
dexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.tar.bz2
dexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.tar.lz
dexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.tar.xz
dexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.tar.zst
dexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.zip
Merge pull request #1115 from 0xProject/upgradeWebpack
Upgrade Webpack
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