Pin to npm4 until npm 5.6.0 comes out
npm5 has an issue uploading tarballs it didn't build. For now, install npm4 and use that to upload our tarballs. The fix for https://github.com/npm/npm/issues/16723 should be in 5.6.0 which should allow us to revert this. Change-Id: I8f633ee2119218799706b47ba3b471dcb04c1253
This commit is contained in:
parent
2862cddb6a
commit
0cd5075466
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user