2018-04-09 14:58:59 +02:00
|
|
|
|
---
|
|
|
|
|
id: ci
|
|
|
|
|
title: "Continuous Integration"
|
|
|
|
|
---
|
|
|
|
|
|
2018-04-14 20:47:48 +02:00
|
|
|
|
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.
|
2018-04-09 14:58:59 +02:00
|
|
|
|
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)
|
2018-04-14 20:47:48 +02:00
|
|
|
|
- [Circle CI 1.0](https://circleci.com/docs/1.0/npm-login/) or [Circle CI 2.0](https://circleci.com/docs/2.0/deployment-integrations/#npm)
|
2018-04-09 14:58:59 +02:00
|
|
|
|
- [Gitlab CI](https://www.exclamationlabs.com/blog/continuous-deployment-to-npm-using-gitlab-ci/)
|