mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-28 01:00:13 +02:00
travis.yml: switch to yarn
This commit is contained in:
20
.travis.yml
20
.travis.yml
@@ -2,16 +2,12 @@ language: node_js
|
|||||||
node_js:
|
node_js:
|
||||||
- '10'
|
- '10'
|
||||||
install:
|
install:
|
||||||
- npm i -g npm@latest
|
- yarn add global eslint
|
||||||
- npm install -g eslint
|
- yarn add global babel-eslint
|
||||||
- npm install -g babel-eslint
|
- yarn add global eslint-plugin-react
|
||||||
- npm install -g eslint-plugin-react
|
- yarn add global eslint-plugin-mocha
|
||||||
- npm install -g eslint-plugin-mocha
|
- yarn add global eslint-config-synacor
|
||||||
- npm install -g eslint-config-synacor
|
|
||||||
script:
|
script:
|
||||||
- npm run lint
|
- yarn run lint
|
||||||
- npm ci
|
- yarn run test
|
||||||
- npm run test
|
cache: yarn
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- '$HOME/.npm'
|
|
||||||
|
Reference in New Issue
Block a user