Skip to content

Commit 7e4264c

Browse files
Piotr Oleśpiotr-oles
authored andcommitted
chore: 🔧 add all_branches: true to the deploy config
semantic-release is responsible for checking whether package should be deployed on the current branch or not. By setting `all_branches: true` in the deploy job, we move this responsibility away from Travis CI.
1 parent 5fe0653 commit 7e4264c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ jobs:
3333
skip_cleanup: true
3434
script:
3535
- yarn exec semantic-release
36+
on:
37+
all_branches: true

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646
"test:watch": "mocha -R spec --watch ./test/unit",
4747
"watch": "tsc --version && tsc --project \"./src\" --watch",
4848
"precommit": "lint-staged && yarn build",
49-
"commit": "./node_modules/.bin/git-cz",
50-
"semantic-release": "semantic-release"
49+
"commit": "./node_modules/.bin/git-cz"
5150
},
5251
"husky": {
5352
"hooks": {

0 commit comments

Comments
 (0)