This repository was archived by the owner on Feb 4, 2022. It is now read-only.
File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,10 @@ functions:
12
12
type : system
13
13
params :
14
14
script : |
15
+ export NVM_DIR="$HOME/src/.nvm"
15
16
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
16
- export NVM_DIR="$HOME/.nvm"
17
17
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
18
- [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
19
- nvm install --lts=argon
18
+ nvm install --lts=${NODE_LTS_NAME}
20
19
21
20
" run tests " :
22
21
- command : shell.exec
@@ -25,9 +24,8 @@ functions:
25
24
working_dir : " src"
26
25
script : |
27
26
export PATH="/opt/mongodbtoolchain/bin:$PATH"
28
- export NVM_DIR="$HOME/.nvm"
27
+ export NVM_DIR="$HOME/src/ .nvm"
29
28
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
30
- [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
31
29
32
30
npm install
33
31
MONGODB_VERSION=${VERSION} MONGODB_ENVIRONMENT=${TOPOLOGY} npm test
@@ -249,11 +247,11 @@ axes:
249
247
- id : " Argon"
250
248
display_name : " Node.js Argon LTS"
251
249
variables :
252
- NODE_LTS : " argon"
250
+ NODE_LTS_NAME : " argon"
253
251
- id : " Boron"
254
252
display_name : " Node.js Boron LTS"
255
253
variables :
256
- NODE_LTS : " boron"
254
+ NODE_LTS_NAME : " boron"
257
255
258
256
buildvariants :
259
257
- matrix_name : " tests-all"
You can’t perform that action at this time.
0 commit comments