Skip to content

Instantly share code, notes, and snippets.

View kouks's full-sized avatar
🎯
Focusing

Pavel Koch kouks

🎯
Focusing
View GitHub Profile
@guilouro
guilouro / bitbucket-pipelines.yml
Created May 15, 2017 16:55
publish npm with bitbucket pipeline
image: node:7
pipelines:
default:
- step:
script:
- printf "//`node -p \"require('url').parse(process.env.NPM_REGISTRY_URL || 'https://registry.npmjs.org').host\"`/:_authToken=${NPM_TOKEN}\nregistry=${NPM_REGISTRY_URL:-https://registry.npmjs.org}\n" >> ~/.npmrc
- npm publish