Skip to content

Instantly share code, notes, and snippets.

View jeffjo's full-sized avatar

Jeff Jo jeffjo

  • San Francisco, CA
View GitHub Profile
@jeffjo
jeffjo / gist:9459921
Last active December 13, 2018 08:17
NPM Shrinkwrap Workflow

#NPM Shrinkwrap Workflow

Our workflow consists of the following steps:

  1. Hack on changes and merge to master
  2. CI detects commits to master and runs tests
  3. CI machine runs npm test
  4. Once tests pass, deployable artifact is built on separate system - call this the "build phase"
  5. Build machine runs npm install to install dependencies
  6. Build machine creates gzipped tarball (which includes dependencies) and pushes gzip file to artifact server