-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn-support #451
yarn-support #451
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've already dealt with this on travis myself, hope my tips are useful 👍
test_script: | ||
- node --version | ||
- npm --version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would leave this line, as npm is still being used in places. I would also add - yarn --version
below it.
@@ -23,8 +23,8 @@ addons: | |||
|
|||
install: | |||
- export CXX="g++-4.8" | |||
- npm install -g npm@latest | |||
- npm install | |||
- npm install -g yarnpkg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the alt install methods listed on the docs site https://yarnpkg.com/en/docs/install
It looks like npm i -g yarn
is the one we want here.
|
||
cache: | ||
- node_modules | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add $HOME/.yarn-cache
for yarn specific caching
I think I made this after creating yarnpkg/yarn#920 😂 |
Proper documentation was added: |
No description provided.