diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-14 01:13:11 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-14 01:13:11 +0800 |
commit | a5d9b71eb6ae5eb49a0be61e1bd668485b411818 (patch) | |
tree | 0504b28aba9ffca5083b03b9345638a333071031 | |
parent | aa3385d516ee83c18a27296e1d0fc0ddd23cf18b (diff) | |
download | dexon-sol-tools-a5d9b71eb6ae5eb49a0be61e1bd668485b411818.tar dexon-sol-tools-a5d9b71eb6ae5eb49a0be61e1bd668485b411818.tar.gz dexon-sol-tools-a5d9b71eb6ae5eb49a0be61e1bd668485b411818.tar.bz2 dexon-sol-tools-a5d9b71eb6ae5eb49a0be61e1bd668485b411818.tar.lz dexon-sol-tools-a5d9b71eb6ae5eb49a0be61e1bd668485b411818.tar.xz dexon-sol-tools-a5d9b71eb6ae5eb49a0be61e1bd668485b411818.tar.zst dexon-sol-tools-a5d9b71eb6ae5eb49a0be61e1bd668485b411818.zip |
Simply lerna command and run bootstrap to install dependencies
-rw-r--r-- | .circleci/config.yml | 11 | ||||
-rw-r--r-- | package.json | 3 |
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" |