1 | language: node_js
|
2 |
|
3 | node_js:
|
4 | - "8"
|
5 | - "9"
|
6 | - "10"
|
7 | - "11"
|
8 | - "12"
|
9 |
|
10 | install:
|
11 | - npm install
|
12 |
|
13 | script:
|
14 | - npm run test
|
15 | - npm run cloc
|
16 | after_success: npm run coverage
|
17 |
|
18 | cache:
|
19 | directories:
|
20 | - "node_modules"
|
21 |
|
22 | deploy:
|
23 | provider: npm
|
24 | email: kylart.dev@gmail.com
|
25 | api_key: $NPM_TOKEN
|
26 | on:
|
27 | branch: master
|
28 |
|
29 | notifications:
|
30 | email: false
|