diff --git a/.drone.yml b/.drone.yml index 9f69f743d..315c887db 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,7 +20,10 @@ steps: - name: run-tests image: thehiveproject/drone-scala-node commands: - - sbt -Duser.home=$PWD test:compile test + - | + . ~/.nvm/nvm.sh + nvm install 12.18 + sbt -Duser.home=$PWD test:compile test # Build packages - name: build-packages @@ -35,6 +38,7 @@ steps: exit 1 fi . ~/.nvm/nvm.sh + nvm install 12.18 [ -n "$PLUGIN_PGP_KEY" ] && gpg --batch --import - <<< $PLUGIN_PGP_KEY sbt -Duser.home=$PWD Docker/stage Debian/packageBin Rpm/packageBin Universal/packageBin cortexWithDeps/Docker/stage if ( echo $V | grep -qi rc )