Last active
October 28, 2022 14:46
-
-
Save ekryski/be648bf1477082e9dbe2f1cd72062972 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
Why can't circle give me an option to make sure I have yarn installed? I don't know. But this worked.