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

Commit

Permalink
Fix Circle CI cached builds when yarn has already been installed (#352)
Browse files Browse the repository at this point in the history
Installing from the script needs to setup PATH if we cached $HOME/.yarn.
  • Loading branch information
arichiardi authored and anmonteiro committed Feb 8, 2018
1 parent b8e9a93 commit c522f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies:
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; fi
- 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 [[ ! -e /usr/local/bin/boot ]];
then
Expand Down

0 comments on commit c522f4d

Please sign in to comment.