blob: 47570dfa3115a6a99edf32f7cd54794d549f847e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
notifications:
email: false
language: node_js
node_js:
- "8.11.1"
sudo: false
branches:
only:
- master
- stable
if: tag IS blank
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
install:
- yarn install --frozen-lockfile
cache:
yarn: true
directories:
- ".cache"
- ".eslintcache"
- "node_modules"
script:
- yarn prettier --list-different
- yarn lint
- yarn jest --maxWorkers=4
after_success:
- yarn codecov
deploy:
provider: script
script: curl -X POST -d '{}' $NETLIFY_DEPLOY_WEBHOOK && yarn semantic-release
skip_cleanup: true
on:
branch: master
|