Skip to content

Commit 90ab136

Browse files
authored
fix(build): set NODE_JS_VERSION in Unix CI (#398)
Otherwise, we just build with any newer Node.js 12.x version, unlike Windows. This bug led to the 0.5.1 release happening with Node.js 12.18.4 on Windows and Node.js 12.19.0 on other platforms. Let’s pick a consistent version. Pick 12.18.4 rather than 12.19.0 because we’re currently seeing Node.js deprecation warnings being shown with 12.19.0 (until mongodb-js/boxednode#9 is merged).
1 parent c81dccd commit 90ab136

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.evergreen/.setup_env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
set -e
2+
export NODE_JS_VERSION='12.18.4'
23
export NVM_DIR="$HOME/.nvm"
34
echo "Setting NVM environment home: $NVM_DIR"
45
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

0 commit comments

Comments
 (0)