Change npm to yarn

This commit is contained in:
Hongarc 2018-12-04 16:51:11 +07:00
parent 517f20e44c
commit b884b0e398
2 changed files with 13 additions and 266 deletions

View file

@ -1,4 +1,15 @@
sudo: false
language: node_js
node_js:
- "4.1"
- "5.3"
- "10"
- "8"
- "7"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
cache:
yarn: true
directories:
- "node_modules"
script:
- yarn test