File tree 3 files changed +15
-20
lines changed
3 files changed +15
-20
lines changed Original file line number Diff line number Diff line change 1
1
coverage
2
2
dist
3
3
node_modules
4
+ CHANGELOG.md
5
+ * .test.js
Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
3
3
node_js :
4
- - 8
5
4
- 10
6
5
7
6
install :
@@ -11,12 +10,14 @@ install:
11
10
jobs :
12
11
include :
13
12
# Define the release stage that runs semantic-release
14
- # - stage: release
15
- # node_js: 10.18
16
- # # Advanced: optionally overwrite your default `script` step to skip the tests
17
- # # script: skip
18
- # deploy:
19
- # provider: script
20
- # skip_cleanup: true
21
- # script:
22
- # - npm run release
13
+ - stage : release
14
+ node_js : 10.18
15
+ # Advanced: optionally overwrite your default `script` step to skip the tests
16
+ # script: skip
17
+ deploy :
18
+ provider : script
19
+ skip_cleanup : true
20
+ on :
21
+ branch : master
22
+ script :
23
+ - npm run release
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
verifyConditions : [
3
3
'@semantic-release/changelog' ,
4
- '@semantic-release/npm' ,
5
4
'@semantic-release/git' ,
6
5
'@semantic-release/github'
7
6
] ,
@@ -12,7 +11,8 @@ module.exports = {
12
11
preset : 'angular' ,
13
12
parserOpts : {
14
13
noteKeywords : [ 'BREAKING CHANGE' , 'BREAKING CHANGES' , 'BREAKING' ]
15
- }
14
+ } ,
15
+ releaseRules : [ { type : 'feat' , release : 'patch' } ]
16
16
}
17
17
] ,
18
18
[
@@ -33,14 +33,6 @@ module.exports = {
33
33
changelogFile : 'CHANGELOG.md'
34
34
}
35
35
] ,
36
- [
37
- '@semantic-release/npm' ,
38
- {
39
- pkgRoot : '.' ,
40
- npmPublish : false ,
41
- tarballDir : false
42
- }
43
- ] ,
44
36
[
45
37
'@semantic-release/git' ,
46
38
{
You can’t perform that action at this time.
0 commit comments