Last active
October 13, 2016 00:15
-
-
Save dtran320/c639fe561de89d5b9a895b677d135acc to your computer and use it in GitHub Desktop.
Yarn on CircleCI
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
dependencies: | |
pre: | |
- curl -o- -L https://yarnpkg.com/install.sh | bash | |
override: | |
- yarn | |
post: # At least for me, it doesn't seem like `scripts` in `package.json` are being run, so you need to add them explicitly | |
- yarn run postinstall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you were getting the following error, it's because I was using the Mac/Generic Linux installation script, which seems to assume the BSD version of
tar
rather than theGNU
version:https://yarnpkg.com/en/docs/install