Skip to content

Commit

Permalink
Use Yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
timdp committed Dec 17, 2017
1 parent 0ce00b9 commit d762c26
Show file tree
Hide file tree
Showing 3 changed files with 3,503 additions and 4 deletions.
11 changes: 8 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
machine:
environment:
NPM_CONFIG_PROGRESS: 'false'
dependencies:
pre:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2
override:
- nvm use 6 && yarn
test:
pre:
- mkdir -p $CIRCLE_TEST_REPORTS/unit
override:
- npm run test:lint
- nvm use 6 && MOCHA_FILE=$CIRCLE_TEST_REPORTS/unit/node4.xml npm run test:unit
- nvm use 8 && MOCHA_FILE=$CIRCLE_TEST_REPORTS/unit/node6.xml npm run test:ci
- yarn run test:lint
- nvm use 6 && MOCHA_FILE=$CIRCLE_TEST_REPORTS/unit/node4.xml yarn run test:unit
- nvm use 8 && MOCHA_FILE=$CIRCLE_TEST_REPORTS/unit/node6.xml yarn run test:ci
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
],
"author": "Tim De Pauw <hi@tmdpw.eu> (https://tmdpw.eu/)",
"engines": {
"node": ">=6"
"node": ">=6",
"yarn": "*"
},
"peerDependencies": {
"winston": "^2.3.1"
Expand Down
Loading

0 comments on commit d762c26

Please sign in to comment.