diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-08-14 07:49:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 07:49:50 +0800 |
commit | 283175df9827be38f8cc9f18d3914e3661456fc4 (patch) | |
tree | 569f4ce716ff15c533adb36021c9b95b5f27e24b /package.json | |
parent | aeb368a1d92cd0f558db3e7456eccbb7cccd50aa (diff) | |
download | dexon-0x-contracts-283175df9827be38f8cc9f18d3914e3661456fc4.tar.gz dexon-0x-contracts-283175df9827be38f8cc9f18d3914e3661456fc4.tar.zst dexon-0x-contracts-283175df9827be38f8cc9f18d3914e3661456fc4.zip |
Run publish/installation tests in CircleCI (#951)
feat(monorepo-scripts): Run publish tests in CircleCI
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json index 5183e2c04..9b8146be8 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,8 @@ "report_coverage": "lcov-result-merger 'packages/*/coverage/lcov.info' | coveralls", "test:installation": "node ./packages/monorepo-scripts/lib/test_installation.js", "test:installation:local": "IS_LOCAL_PUBLISH=true node ./packages/monorepo-scripts/lib/test_installation.js", + "test:publish:circleci:comment": "HACK(albrow) We need an automated way to login to npm and echo+sleep piped to stdin was the only way I could find to do it.", + "test:publish:circleci": "{ echo \"test\"; sleep 1; echo \"test\"; sleep 1; echo \"test@example.com\"; } | npm login --registry=http://localhost:4873 && IS_LOCAL_PUBLISH=true run-s script:publish test:installation:local", "run:publish": "run-s install:all build:monorepo_scripts script:prepublish_checks rebuild:no_website script:publish", "run:publish:local": "IS_LOCAL_PUBLISH=true yarn run:publish", "script:prepublish_checks": "node ./packages/monorepo-scripts/lib/prepublish_checks.js", |