Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A guide to publishing a package to NPM using Travis. 

Info

This is a Work in Progress - modifying the pypi docs for NPM

Step-by-step guide

...

Contact DevOps to get publish tokens for the edX NPMJS account. Use the Travis CI command line client to encrypt the token: 

Code Block
languagebash
travis encrypt --add deploy.api_key NPMTOKEN

...

Troubleshooting

If your tag is in GitHub, but is not starting a build in Travis, or if you are deploying from too many sub-builds in Travis, see the following changes to .travis.yml.These docs have been merged with How to connect a repository to Travis CI

Filter by label (Content by label)
showLabelsfalse
max5
spacesOpenOPS
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "packaging" , "travis" , "pypi" ) and type = "page" and space = "OpenOPS"
labelspypi packaging travis

...