Skip to content

Commit

Permalink
feat: use yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateu Aguiló Bosch committed Jun 9, 2018
1 parent dac05f2 commit e56a654
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
stage: test
node_js: 'lts/carbon'
script:
- npm run lint
- npm run test-ci
- npm install coveralls
- yarn lint
- yarn test-ci
- yarn add --no-lockfile coveralls rimraf
# Report coverage to coveralls.io
- cat ./__coverage__/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- rm -fr ./__coverage__
- rimraf ./__coverage__

-
stage: deploy
if: branch = master
# Semantic release will fail if it's not using node 8.
node_js: 'lts/carbon'
script: npm run semantic-release
script: yarn semantic-release
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"test": "NODE_ENV=test jest --coverage",
"test-ci": "NODE_ENV=test jest --coverage --ci --runInBand",
"commitmsg": "commitlint -e $GIT_PARAMS",
"precommit": "lint-staged && npm run flow",
"precommit": "lint-staged && yarn flow",
"emdaer": "emdaer --yes && git add *.md",
"prepush": "npm run lint && npm run flow && npm test",
"prepublish": "npm run build",
"prepush": "yarn lint && yarn flow && yarn test",
"prepublish": "yarn build",
"flow": "flow status",
"build": "./node_modules/.bin/babel src -d lib --copy-files --delete-dir-on-start",
"prettier": "prettier --write './**/*.js' && eslint './**/*.js' --fix",
Expand Down

0 comments on commit e56a654

Please sign in to comment.