Revert "Pin to npm4 until npm 5.6.0 comes out"
It looks like we never got around to cleaning this up after the npm 5.6.0 over 3 years ago. Now it seems to be causing the error described in https://github.com/nodejs/help/issues/2874 so let's go back to using the (presumed working) version of npm which the node/nvm installation provides. This reverts commit 0cd5075466ac77565f41074c28b05b0ad1459d86. Change-Id: I0be3e8fd39845e82790b29d9f2c1e1179cb69e23
This commit is contained in:
parent
0eaa5cf59a
commit
bac0326c00
@ -22,6 +22,4 @@
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
nvm install node
|
||||
nvm use node
|
||||
# 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
|
||||
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