Try to fix nvm in CI? (9)

pull/854/head
cgewecke 10 months ago
parent 090268dfd2
commit 6a4df6eff1
  1. 3
      .circleci/config.yml
  2. 2
      scripts/zeppelin.sh

@ -12,8 +12,7 @@ step_install_nvm: &step_install_nvm
set +e set +e
export NVM_DIR="/opt/circleci/.nvm" export NVM_DIR="/opt/circleci/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install v14.19.0 nvm install v18
nvm alias default v14.19.0
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV
echo "[ -s \"$NVM_DIR/nvm.sh\" ] && . \"$NVM_DIR/nvm.sh\"" >> $BASH_ENV echo "[ -s \"$NVM_DIR/nvm.sh\" ] && . \"$NVM_DIR/nvm.sh\"" >> $BASH_ENV
jobs: jobs:

@ -8,7 +8,7 @@ set -o errexit
# Get rid of any caches # Get rid of any caches
sudo rm -rf node_modules sudo rm -rf node_modules
echo "NVM CURRENT >>>>>" && nvm current 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 # Use PR env variables (for forks) or fallback on local if PR not available
SED_REGEX="s/git@github.com:/https:\/\/github.com\//" SED_REGEX="s/git@github.com:/https:\/\/github.com\//"

Loading…
Cancel
Save