Skip to content

Commit d2c87a0

Browse files
committed
Fix jenkins build
1 parent 7df77d7 commit d2c87a0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/jenkins.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ nvm use 10
88

99
set -x
1010

11+
npm install
12+
1113
# check out corresponding branches of dependencies.
1214
#
1315
# clone the deps with depth 1: we know we will only ever need that one
1416
# commit.
17+
# We need to do this after npm install otherwise modern node versions
18+
# just reset it back.
1519
`dirname $0`/fetch-develop.deps.sh --depth 1
1620

17-
npm install
18-
1921
# apparently npm 3.10.3 on node 6.4.0 doesn't upgrade #develop target with npm install unless explicitly asked.
2022
npm install olm
2123

0 commit comments

Comments
 (0)