-
-
Save koshuang/6d5eb4c096262715635e5fed1487117f to your computer and use it in GitHub Desktop.
Using Yarn with CircleCI and Heroku
This file contains hidden or 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 | |
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 | |
deployment: | |
production: | |
branch: master | |
heroku: | |
appname: your-production-app | |
staging: | |
branch: staging | |
heroku: | |
appname: your-staging-app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment