CI: set nodejs version to 10 on main scripts

nvm can run within a bash shell only.
This commit is contained in:
Jan Edmund Lazo 2019-12-30 18:47:49 -05:00
parent eeabd3a8c6
commit 4bd51d8988
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,8 @@ echo "Install neovim RubyGem."
gem install --no-document --version ">= 0.8.0" neovim
echo "Install neovim npm package"
source ~/.nvm/nvm.sh
nvm use 10
npm install -g neovim
npm link neovim

View File

@ -19,6 +19,8 @@ exit_suite --continue
enter_suite tests
source ~/.nvm/nvm.sh
nvm use 10
export TREE_SITTER_DIR=$HOME/tree-sitter-build/
if test "$CLANG_SANITIZER" != "TSAN" ; then