This repository was archived by the owner on Feb 4, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,10 @@ functions:
1212 type : system
1313 params :
1414 script : |
15+ export NVM_DIR="$HOME/src/.nvm"
1516 curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
16- export NVM_DIR="$HOME/.nvm"
1717 [ -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}
2019
2120 " run tests " :
2221 - command : shell.exec
@@ -25,9 +24,8 @@ functions:
2524 working_dir : " src"
2625 script : |
2726 export PATH="/opt/mongodbtoolchain/bin:$PATH"
28- export NVM_DIR="$HOME/.nvm"
27+ export NVM_DIR="$HOME/src/ .nvm"
2928 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
30- [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
3129
3230 npm install
3331 MONGODB_VERSION=${VERSION} MONGODB_ENVIRONMENT=${TOPOLOGY} npm test
@@ -249,11 +247,11 @@ axes:
249247 - id : " Argon"
250248 display_name : " Node.js Argon LTS"
251249 variables :
252- NODE_LTS : " argon"
250+ NODE_LTS_NAME : " argon"
253251 - id : " Boron"
254252 display_name : " Node.js Boron LTS"
255253 variables :
256- NODE_LTS : " boron"
254+ NODE_LTS_NAME : " boron"
257255
258256buildvariants :
259257- matrix_name : " tests-all"
You can’t perform that action at this time.
0 commit comments