From 863146c9068146ddfd8ca74d7190666070942c4d Mon Sep 17 00:00:00 2001 From: Ayush Sharma Date: Mon, 9 Apr 2018 18:28:59 +0530 Subject: [PATCH] docs(ci): adds integration information with travis, circle & gitlab ci docs(ci): corrects spells --- docs/ci.md | 14 ++++++++++++++ website/sidebars.json | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 docs/ci.md diff --git a/docs/ci.md b/docs/ci.md new file mode 100644 index 000000000..554abf0f0 --- /dev/null +++ b/docs/ci.md @@ -0,0 +1,14 @@ +--- +id: ci +title: "Continuous Integration" +--- + +You may use verdaccio with continuous integration while login or publish. When +using NPM to install a private module in a continuous integration environment +for the first time, a brick wall is quickly hit. The NPM login command is +designed to be used interactively. This causes an issue in CI, scripts, etc. +Here’s how to use NPM login different continuous integration platforms. + +- [Travis CI](https://remysharp.com/2015/10/26/using-travis-with-private-npm-deps) +- [Circle CI 1.0](https://circleci.com/docs/1.0/npm-login/) +- [Gitlab CI](https://www.exclamationlabs.com/blog/continuous-deployment-to-npm-using-gitlab-ci/) diff --git a/website/sidebars.json b/website/sidebars.json index 27cb0c560..eb66065aa 100644 --- a/website/sidebars.json +++ b/website/sidebars.json @@ -28,7 +28,8 @@ "DevOps": [ "docker", "kubernetes", - "ansible" + "ansible", + "ci" ], "Development": [ "build",