Skip to content

Instantly share code, notes, and snippets.

@benbarber
Created December 23, 2016 11:46
Show Gist options
  • Save benbarber/c30bac0639d7847fbdc290a20ed2bb52 to your computer and use it in GitHub Desktop.
Save benbarber/c30bac0639d7847fbdc290a20ed2bb52 to your computer and use it in GitHub Desktop.
Circle CI config for using Yarn in a Node project
machine:
pre:
- mkdir ~/.yarn-cache
node:
version: stable
dependencies:
pre:
- curl -o- -L https://yarnpkg.com/install.sh | bash
cache_directories:
- ~/.yarn-cache
override:
- yarn install
test:
override:
- yarn test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment