aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.circleci/config.yml11
-rw-r--r--package.json3
2 files changed, 8 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index f373e5656..3501fdd89 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -18,11 +18,12 @@ jobs:
- ~/.cache/yarn
- run: wget https://s3.amazonaws.com/testrpc-shapshots/${CONTRACTS_COMMIT_HASH}.zip
- run: unzip ${CONTRACTS_COMMIT_HASH}.zip -d testrpc_snapshot
- - run:
+ - run: node ./node_modules/lerna/bin/lerna.js bootstrap
+ - run: yarn lerna:run -- bootstrap
name: testrpc
command: npm run testrpc -- --db testrpc_snapshot
background: true
- - run: node ./node_modules/lerna/bin/lerna.js run test:coverage
- - run: node ./node_modules/lerna/bin/lerna.js run report_test_coverage
- - run: if [ $CIRCLE_BRANCH = "master" ]; then node ./node_modules/lerna/bin/lerna.js run test:umd; fi
- - run: node ./node_modules/lerna/bin/lerna.js run lint
+ - run: yarn lerna:run -- test:coverage
+ - run: yarn lerna:run -- report_test_coverage
+ - run: if [ $CIRCLE_BRANCH = "master" ]; then yarn lerna:run -- test:umd; fi
+ - run: yarn lerna:run -- lint
diff --git a/package.json b/package.json
index 83223a474..49c97eff6 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,8 @@
"packages/*"
],
"scripts": {
- "testrpc": "testrpc -p 8545 --networkId 50 -m \"${npm_package_config_mnemonic}\""
+ "testrpc": "testrpc -p 8545 --networkId 50 -m \"${npm_package_config_mnemonic}\"",
+ "lerna:run": "lerna run"
},
"config": {
"mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic"