diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-07 01:25:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 01:25:43 +0800 |
commit | 49049b8c126c779d68934eaceb6835ebf3a24a49 (patch) | |
tree | 432db7d1c57a4625583a72eaa20902d9a9db4b12 /.circleci/config.yml | |
parent | af1d5fce6ea355b12bf5f63f51ea81ff596f7868 (diff) | |
parent | 8b05b864fba750ce48d2ae7bbb58e27ed8fd4df2 (diff) | |
download | dexon-sol-tools-49049b8c126c779d68934eaceb6835ebf3a24a49.tar dexon-sol-tools-49049b8c126c779d68934eaceb6835ebf3a24a49.tar.gz dexon-sol-tools-49049b8c126c779d68934eaceb6835ebf3a24a49.tar.bz2 dexon-sol-tools-49049b8c126c779d68934eaceb6835ebf3a24a49.tar.lz dexon-sol-tools-49049b8c126c779d68934eaceb6835ebf3a24a49.tar.xz dexon-sol-tools-49049b8c126c779d68934eaceb6835ebf3a24a49.tar.zst dexon-sol-tools-49049b8c126c779d68934eaceb6835ebf3a24a49.zip |
Merge pull request #657 from 0xProject/feature/build-speed
Speedup CI builds
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 8 |
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: |