File tree Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
1
2
language : node_js
2
-
3
+ cache :
4
+ directories :
5
+ - node_modules
6
+ notifications :
7
+ email : false
3
8
node_js :
4
- - node
5
-
9
+ - ' 4'
10
+ before_install :
11
+ - npm i -g npm@^2.0.0
6
12
before_script :
13
+ - npm prune
7
14
- npm install -g codeclimate-test-reporter
8
-
9
15
script : npm run cover:report
10
-
11
16
after_script :
12
17
- codeclimate-test-reporter < coverage.lcov
18
+ after_success :
19
+ - npm run semantic-release
20
+ branches :
21
+ except :
22
+ - /^v\d+\.\d+\.\d+$/
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " lazy-linked-lists" ,
3
- "version" : " 0.1.0" ,
4
3
"description" : " Lazy and infinite linked lists for JavaScript." ,
5
4
"author" : " Steven J. Syrek" ,
6
5
"license" : " ISC" ,
52
51
"eslint" : " ^3.3.1" ,
53
52
"mocha" : " ^3.0.2" ,
54
53
"nyc" : " ^8.1.0" ,
55
- "should" : " ^11.1.0"
54
+ "should" : " ^11.1.0" ,
55
+ "semantic-release" : " ^4.3.5"
56
56
},
57
57
"dependencies" : {
58
58
"babel-runtime" : " ^6.11.6"
64
64
"test" : " cross-env NODE_ENV=test mocha --compilers js:babel-register" ,
65
65
"cover" : " nyc --reporter html --reporter text -- npm -s test" ,
66
66
"cover:report" : " nyc npm test && nyc report --reporter=text-lcov > coverage.lcov" ,
67
- "prepublish" : " npm run compile"
67
+ "prepublish" : " npm run compile" ,
68
+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
68
69
}
69
70
}
You can’t perform that action at this time.
0 commit comments