verdaccio/docs/ci.md

15 lines
751 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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.
Heres 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/) or [Circle CI 2.0](https://circleci.com/docs/2.0/deployment-integrations/#npm)
- [Gitlab CI](https://www.exclamationlabs.com/blog/continuous-deployment-to-npm-using-gitlab-ci/)