1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-21 07:29:37 +01:00

build: set missing NPM_TOKEN for deployments

This commit is contained in:
Juan Picado @jotadeveloper 2017-10-21 10:46:14 +02:00
parent 4995d19d3e
commit f2e857990a
No known key found for this signature in database
GPG Key ID: 18AC54485952D158

@ -6,6 +6,7 @@ machine:
version: 8
dependencies:
pre:
- 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc'
- |
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION