Last active
March 22, 2017 22:29
-
-
Save chriskjaer/7642f76d9e9a7065a3b40f354890ec2d to your computer and use it in GitHub Desktop.
Use Yarn on CircleCI with cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
machine: | |
pre: | |
- mkdir ~/.yarn-cache | |
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
If you don't care about the newest version of
yarn
do: