Skip to content

Instantly share code, notes, and snippets.

@koshuang
Forked from ekryski/circle.yml
Created November 21, 2016 16:01
Show Gist options
  • Save koshuang/6d5eb4c096262715635e5fed1487117f to your computer and use it in GitHub Desktop.
Save koshuang/6d5eb4c096262715635e5fed1487117f to your computer and use it in GitHub Desktop.
Using Yarn with CircleCI and Heroku
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