aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index c544bb484..a4f3e7a91 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -25,8 +25,12 @@ jobs:
key: yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules/
- - run: node ./node_modules/lerna/bin/lerna.js bootstrap
- - run: yarn build
+ - run: >
+ if [ -z "$(git diff --name-only v2-prototype packages/website)" ]; then
+ yarn build --exclude website
+ else
+ yarn build
+ fi
- save_cache:
key: repo-{{ .Environment.CIRCLE_SHA1 }}
paths: