Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
limit npm token to travis instances
# list of IPs from https://docs.travis-ci.com/user/ip-addresses/
## sudo-enabled linux
npm token create --cidr=$(echo $(dig +short {nat.gce-us-central1.travisci.net,nat.gce-us-east1.travisci.net}) | sed 's_ _/32,_g')/32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment