1 | sudo: false
|
2 | language: node_js
|
3 | node_js:
|
4 | - "8"
|
5 | cache:
|
6 | directories:
|
7 | - node_modules
|
8 | notifications:
|
9 | email: false
|
10 | before_install:
|
11 | - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.6.0
|
12 | - export PATH="$HOME/.yarn/bin:$PATH"
|
13 | install:
|
14 | - yarn
|
15 | script:
|
16 | - yarn lint
|
17 | after_success:
|
18 | - yarn release
|
19 | branches:
|
20 | except:
|
21 | - /^v\d+\.\d+\.\d+$/
|