autogen.sh: give `npm install` a few tries
`npm install` is sometimes flaky, which can ruin an entire tests run on semaphore. If it fails, try a couple more times.
This commit is contained in:
parent
5716079402
commit
ce6edaabbc
|
@ -43,7 +43,9 @@ fi
|
|||
|
||||
# Development dependencies: See node_modules/README
|
||||
npm prune
|
||||
npm install # see package.json
|
||||
|
||||
# npm install is flaky, so give it a few tries
|
||||
npm install || { sleep 30; npm install; } || { sleep 30; npm install; }
|
||||
|
||||
find node_modules -name test | xargs rm -rf
|
||||
|
||||
|
|
Loading…
Reference in New Issue