node-pom-parser icon indicating copy to clipboard operation
node-pom-parser copied to clipboard

Automatically deploy to npm upon merge to Master

Open marcellodesales opened this issue 10 years ago • 2 comments

Travis supports CD capability.

http://docs.travis-ci.com/user/deployment/npm/

Instead of forgetting to publish manually, this should be enabled. Here's our GitFlow workflow:

  1. Development occurs in the develop branch.
  2. New Pull Requests must be to to be merged against this branch. However, Pull Requests will only be reviewed If the pull request can be merged and the tests passes. Also, the milestone must be set to the associated Issue.
  3. After a new release has been planned, all the merged pull requests can be released.
  4. On a new release, Tagging is added, the version is bumped in package.json and the Develop branch will be merged to Master, triggering the npm publish on Travis.

marcellodesales avatar Jul 18 '15 07:07 marcellodesales

+1

dey-dey avatar Dec 14 '15 19:12 dey-dey

@nsinghal12 I think this also needs some more access. Since I don't see an option to create a new workflow in the actions tab.

foobar98 avatar Oct 15 '22 08:10 foobar98