hjagodzinski / ops-ci-npm-publish

Auto publish from CI to NPM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI-NPM-PUBLISH

You are a great developer. You write tests and run your builds through a CI and only publish to npm if all of your tests pass.

But there is a problem, your CI of choice (outside of Jenkins), doesn't support publishing to npm...

Now you can!

Install this package globally on your CI and when ready to deploy, run npm-publish.

This command can take args as well as env variables.

$ npm-publish --npmuser <username> --npmemail <email> --npmpassword <password>

Environment variables are NPMUSER, NPMEMAIL, and NPMPASSWORD.

Mix and match if you like!

About

Auto publish from CI to NPM


Languages

Language:JavaScript 100.0%