From 6a4df6eff1bcdd7c285d9e472e6b284ab47ad924 Mon Sep 17 00:00:00 2001 From: cgewecke Date: Thu, 8 Feb 2024 12:29:43 -0800 Subject: [PATCH] Try to fix nvm in CI? (9) --- .circleci/config.yml | 3 +-- scripts/zeppelin.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 153342c..fdb57df 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,8 +12,7 @@ step_install_nvm: &step_install_nvm set +e export NVM_DIR="/opt/circleci/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" - nvm install v14.19.0 - nvm alias default v14.19.0 + nvm install v18 echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV echo "[ -s \"$NVM_DIR/nvm.sh\" ] && . \"$NVM_DIR/nvm.sh\"" >> $BASH_ENV jobs: diff --git a/scripts/zeppelin.sh b/scripts/zeppelin.sh index 016e617..96418b7 100755 --- a/scripts/zeppelin.sh +++ b/scripts/zeppelin.sh @@ -8,7 +8,7 @@ set -o errexit # Get rid of any caches sudo rm -rf node_modules echo "NVM CURRENT >>>>>" && nvm current -nvm use 14 +nvm use 18 # Use PR env variables (for forks) or fallback on local if PR not available SED_REGEX="s/git@github.com:/https:\/\/github.com\//"