Merge "Pin to npm4 until npm 5.6.0 comes out"

This commit is contained in:
Zuul 2017-12-09 16:03:53 +00:00 committed by Gerrit Code Review
commit 050bbf4692
1 changed files with 3 additions and 1 deletions

View File

@ -20,4 +20,6 @@
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
nvm install node
nvm use node
npm publish --ignore-scripts {{ zuul.executor.work_root }}/artifacts/{{ zuul.project.short_name }}-{{ project_ver }}.tar.gz
# Workaround for https://github.com/npm/npm/issues/16723
npm install npm@4
node_modules/.bin/npm publish --ignore-scripts {{ zuul.executor.work_root }}/artifacts/{{ zuul.project.short_name }}-{{ project_ver }}.tar.gz