Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
Attempt another fix for yarn in CircleCi (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
arichiardi authored and anmonteiro committed Feb 15, 2018
1 parent c522f4d commit a1c7b17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,23 @@ machine:
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-Xverify:none
PATH: "${HOME}/.yarn/bin:${HOME}/.config/yarn/global/node_modules/.bin:${PATH}"

dependencies:
cache_directories:
- "tmp"
- "~/.boot/cache/lib"
- "~/.boot/cache/bin"
- "~/.yarn"
- "~/.cache/yarn"
- "~/.config/yarn"
- "/usr/local/bin/boot"
- "/usr/local/lib/node_modules"
- "/usr/local/Cellar"
pre:
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash && export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
- nvm install v9.2.0
- if [[ ! -d "$HOME/.yarn" ]]; then curl -o- -L https://yarnpkg.com/install.sh | bash; else export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"; fi
- if [[ ! -d "$HOME/.yarn" ]]; then curl -o- -L https://yarnpkg.com/install.sh | bash; fi
- |
if [[ ! -e /usr/local/bin/boot ]];
then
Expand Down

0 comments on commit a1c7b17

Please sign in to comment.