Unverified Commit 64361997 authored by Dan Caseley's avatar Dan Caseley Committed by GitHub
Browse files

[CHORE] CircleCI Upgrades (#2269)



* Upgrade nvm

* Upgrade XCode

* Use nvm's default installed version of node (LTS)

Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
parent 72753148
......@@ -3,7 +3,7 @@ defaults: &defaults
macos: &macos
macos:
xcode: "11.2.1"
xcode: "11.5.0"
bash-env: &bash-env
BASH_ENV: "~/.nvm/nvm.sh"
......@@ -33,14 +33,12 @@ save-npm-cache-mac: &save-npm-cache-mac
- ./node_modules
install-node: &install-node
name: Install Node 10
name: Install Node
command: |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
source ~/.nvm/nvm.sh
# https://github.com/creationix/nvm/issues/1394
set +e
nvm install 10
echo 'export PATH="/home/circleci/.nvm/versions/node/v10.20.1/bin:$PATH"' >> ~/.bash_profile
INSTALLED_NODE=`nvm which current`
echo "export PATH=\"${INSTALLED_NODE%%/node}:\$PATH\"" >> ~/.bash_profile
source ~/.bash_profile
restore-gems-cache: &restore-gems-cache
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment