aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-10-02 21:29:49 +0800
committerGitHub <noreply@github.com>2018-10-02 21:29:49 +0800
commitf1ecb8c5cb28a0a7ca6f7ad2ff11194091df62a4 (patch)
tree33252be8be47a0b9da43b9ad5ead30baa992e5f3 /.circleci
parent9ad4a135d23f485b705d3d9fb3f93be6c958c6b9 (diff)
parenta4153144dbd2a46d51069e57ba7c1402e5867154 (diff)
downloaddexon-sol-tools-f1ecb8c5cb28a0a7ca6f7ad2ff11194091df62a4.tar
dexon-sol-tools-f1ecb8c5cb28a0a7ca6f7ad2ff11194091df62a4.tar.gz
dexon-sol-tools-f1ecb8c5cb28a0a7ca6f7ad2ff11194091df62a4.tar.bz2
dexon-sol-tools-f1ecb8c5cb28a0a7ca6f7ad2ff11194091df62a4.tar.lz
dexon-sol-tools-f1ecb8c5cb28a0a7ca6f7ad2ff11194091df62a4.tar.xz
dexon-sol-tools-f1ecb8c5cb28a0a7ca6f7ad2ff11194091df62a4.tar.zst
dexon-sol-tools-f1ecb8c5cb28a0a7ca6f7ad2ff11194091df62a4.zip
Merge pull request #1104 from 0xProject/feature/bundlesize
Bundle size reporting
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml20
1 files changed, 5 insertions, 15 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 2231ae796..f288a46e6 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -11,29 +11,17 @@ jobs:
steps:
- checkout
- run: echo 'export PATH=$HOME/CIRCLE_PROJECT_REPONAME/node_modules/.bin:$PATH' >> $BASH_ENV
- - restore_cache:
- name: Restore Yarn Package Cache
- keys:
- - yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
- - yarn-packages-{{ .Branch }}
- - yarn-packages-master
- - yarn-packages-
- run:
name: install-yarn
command: sudo npm install --global yarn@1.9.4
- run:
name: yarn
command: yarn --frozen-lockfile install || yarn --frozen-lockfile install
- - save_cache:
- name: Save Yarn Package Cache
- key: yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
- paths:
- - node_modules/
- run: >
if [ -z "$(git diff --name-only development packages/website)" ]; then
- yarn build --exclude website
+ yarn build:ci:no_website
else
- yarn build
+ yarn build:ci
fi
- save_cache:
key: repo-{{ .Environment.CIRCLE_SHA1 }}
@@ -177,8 +165,10 @@ jobs:
- restore_cache:
keys:
- repo-{{ .Environment.CIRCLE_SHA1 }}
- - run: yarn prettier:ci
- run: yarn lerna run lint
+ - run: yarn prettier:ci
+ - run: cd packages/0x.js && yarn build:umd:prod
+ - run: yarn bundlesize
submit-coverage:
docker:
- image: circleci/node:9