Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ defaults: &defaults ...@@ -3,7 +3,7 @@ defaults: &defaults
macos: &macos macos: &macos
macos: macos:
xcode: "11.2.1" xcode: "11.5.0"
bash-env: &bash-env bash-env: &bash-env
BASH_ENV: "~/.nvm/nvm.sh" BASH_ENV: "~/.nvm/nvm.sh"
...@@ -33,14 +33,12 @@ save-npm-cache-mac: &save-npm-cache-mac ...@@ -33,14 +33,12 @@ save-npm-cache-mac: &save-npm-cache-mac
- ./node_modules - ./node_modules
install-node: &install-node install-node: &install-node
name: Install Node 10 name: Install Node
command: | 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 source ~/.nvm/nvm.sh
# https://github.com/creationix/nvm/issues/1394 INSTALLED_NODE=`nvm which current`
set +e echo "export PATH=\"${INSTALLED_NODE%%/node}:\$PATH\"" >> ~/.bash_profile
nvm install 10
echo 'export PATH="/home/circleci/.nvm/versions/node/v10.20.1/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile source ~/.bash_profile
restore-gems-cache: &restore-gems-cache restore-gems-cache: &restore-gems-cache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment