aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/build_node.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run_tests/build_node.sh')
-rwxr-xr-xtools/run_tests/build_node.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/run_tests/build_node.sh b/tools/run_tests/build_node.sh
index 8f2ab4413a..9c4af07185 100755
--- a/tools/run_tests/build_node.sh
+++ b/tools/run_tests/build_node.sh
@@ -29,8 +29,12 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+NODE_VERSION=$1
+source ~/.nvm/nvm.sh
set -ex
+nvm use $NODE_VERSION
+
CONFIG=${CONFIG:-opt}
# change to grpc repo root