From 934c3cbc39814619f54dfbb5cd6d21afbc42fd95 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Mon, 20 Sep 2021 20:47:44 +0200 Subject: [PATCH] chore(ci): load nvm --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index e1be69f..cdb221b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,6 +18,10 @@ jobs: - checkout - run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash + - run: + export NVM_DIR="$HOME/.nvm" + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm + - run: nvm install 16 - run: nvm use 16