This repository was archived by the owner on Apr 1, 2020. It is now read-only.
File tree 2 files changed +15
-7
lines changed
2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 1
- sudo : false
2
1
language : node_js
3
2
cache :
4
3
directories :
5
- - node_modules
4
+ - ~/.npm
6
5
node_js :
7
- - " 8 "
6
+ - ' 8 '
8
7
notifications :
9
8
email : false
10
-
9
+ before_script :
10
+ - npm prune
11
+ after_success :
12
+ - npm run semantic-release
13
+ branches :
14
+ except :
15
+ - /^v\d+\.\d+\.\d+$/
11
16
deploy :
12
17
script : scripts/deploy.sh
13
18
provider : script
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " commitlint-bot" ,
3
- "version" : " 0.0.0" ,
3
+ "version" : " 0.0.0-development " ,
4
4
"description" : " A GitHub App that runs commitlint for you" ,
5
5
"author" :
" Ahmed T. Ali <[email protected] > (https://ahmed.sd)" ,
6
6
"license" : " MIT" ,
11
11
"now" : " now" ,
12
12
"now-start" : " PRIVATE_KEY=$(echo $PRIVATE_KEY | base64 -d) npm start" ,
13
13
"start" : " probot run ./index.js" ,
14
- "test" : " mocha"
14
+ "test" : " mocha" ,
15
+ "semantic-release" :
16
+ " semantic-release pre && npm publish && semantic-release post"
15
17
},
16
18
"dependencies" : {
17
19
"@commitlint/core" : " ^4.2.2" ,
21
23
"expect" : " ^1.20.2" ,
22
24
"localtunnel" : " ^1.8.2" ,
23
25
"mocha" : " ^3.2.0" ,
24
- "now" : " ^8.3.10"
26
+ "now" : " ^8.3.10" ,
27
+ "semantic-release" : " ^8.2.0"
25
28
},
26
29
"engines" : {
27
30
"node" : " >=8" ,
You can’t perform that action at this time.
0 commit comments