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
Changes from 4 commits
11d5658
e2dffe2
f175514
720e1e7
c936728
5f9310f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,32 @@ | ||
os: unstable | ||
cache: | ||
- node_modules | ||
|
||
environment: | ||
matrix: | ||
- nodejs_version: 6 | ||
- nodejs_version: 4 | ||
install: | ||
- ps: Install-Product node $env:nodejs_version | ||
- set CI=true | ||
- npm install -g npm@latest | ||
- set PATH=%APPDATA%\npm;%PATH% | ||
- npm install | ||
|
||
cache: | ||
- node_modules | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add |
||
matrix: | ||
fast_finish: true | ||
|
||
build: off | ||
|
||
version: '{build}' | ||
|
||
shallow_clone: true | ||
|
||
clone_depth: 1 | ||
|
||
install: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
- ps: Install-Product node $env:nodejs_version | ||
- set CI=true | ||
- npm install -g yarnpkg | ||
- yarn | ||
|
||
test_script: | ||
- node --version | ||
- npm --version | ||
- npm run lint | ||
- npm run test | ||
- npm run build | ||
|
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.