Skip to content

Commit ef183ae

Browse files
author
Piotr Oleś
committed
feat: add semantic-release deploy script to travis.yml
1 parent 1c66e17 commit ef183ae

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,12 @@ script:
1010
- yarn build
1111
- yarn test
1212
- yarn lint
13+
14+
deploy:
15+
provider: script
16+
skip_cleanup: true
17+
script:
18+
- yarn exec semantic-release
19+
on:
20+
all_branches: true
21+
node_js: 10

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,8 @@
9191
"prerelease": true
9292
}
9393
]
94+
},
95+
"publishConfig": {
96+
"access": "public"
9497
}
9598
}

0 commit comments

Comments
 (0)