Dave Lockhart
Dave Lockhart

Reputation: 1151

Can Travis CI be configured to deploy to a private NPM on Nodejitsu?

I would like to use Travis CI to build, test and deploy my project as a NPM module to our private registry hosted by Nodejitsu.

I've followed the instructions Travis CI provides for publishing to npmjs.org, which involve adding the following to your .travis.yml:

deploy:
  provider: npm
  email: ...
  api_key: ...

This configuration works perfectly to deploy to npmjs.org. Nodejitsu has some documentation on deploying full node.js applications using Travis CI that mentions switching the provider to nodejitsu instead of npm. This fails with missing user and failed to deploy errors with no additional details. The user in question is an owner of the module and can publish successfully from the command line.

Does anyone know if Travis CI is supposed to be able to deploy to a private NPM, specifically one hosted by Nodejitsu? Thanks!

Upvotes: 3

Views: 244

Answers (0)

Related Questions