aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-08-14 07:49:50 +0800
committerGitHub <noreply@github.com>2018-08-14 07:49:50 +0800
commit283175df9827be38f8cc9f18d3914e3661456fc4 (patch)
tree569f4ce716ff15c533adb36021c9b95b5f27e24b /package.json
parentaeb368a1d92cd0f558db3e7456eccbb7cccd50aa (diff)
downloaddexon-sol-tools-283175df9827be38f8cc9f18d3914e3661456fc4.tar.gz
dexon-sol-tools-283175df9827be38f8cc9f18d3914e3661456fc4.tar.zst
dexon-sol-tools-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.json2
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",