Skip to content

Commit

Permalink
Merge pull request #2 from Turbo87/yarn
Browse files Browse the repository at this point in the history
Use yarn instead of npm
  • Loading branch information
locks authored Nov 6, 2017
2 parents 9547dfd + 1487e40 commit 4df5d0f
Show file tree
Hide file tree
Showing 3 changed files with 5,295 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ addons:
chrome: stable

cache:
directories:
- $HOME/.npm
yarn: true

env:
global:
Expand All @@ -35,9 +34,11 @@ matrix:
- env: EMBER_TRY_SCENARIO=ember-canary

before_install:
- npm config set spin false
- npm install -g npm@4
- npm --version
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH

install:
- yarn install --no-lockfile --non-interactive

script:
# Usually, it's ok to finish the test scenario without reverting
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This README outlines the details of collaborating on this Ember addon.

* `git clone <repository-url>` this repository
* `cd ember-ordered-set`
* `npm install`
* `yarn install`

## Running

Expand All @@ -15,7 +15,7 @@ This README outlines the details of collaborating on this Ember addon.

## Running Tests

* `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions)
* `yarn test` (Runs `ember try:each` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`

Expand Down
Loading

0 comments on commit 4df5d0f

Please sign in to comment.