Skip to content

Commit 010feeb

Browse files
authored
Merge pull request #268 from Codebrahma/release-automation
Release automation
2 parents e74bec1 + 64f17e9 commit 010feeb

File tree

3 files changed

+4774
-1102
lines changed

3 files changed

+4774
-1102
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,19 @@ script:
1414
- npm run build:docs
1515
- npm run test
1616

17+
jobs:
18+
include:
19+
- # require the branch name to be master (note for PRs this is the base branch name)
20+
if: branch = master
21+
stage: release
22+
node_js: lts/*
23+
# Advanced: optionally overwrite your default `script` step to skip the tests
24+
# script: skip
25+
deploy:
26+
provider: script
27+
skip_cleanup: true
28+
script:
29+
- npx semantic-release
30+
- curl -X POST --data-urlencode "payload={ \"text\" : \"A new version of `react-lite-ui` was published to NPM :tada:\" }" $RELEASE_NOTIF_URL
31+
1732
after_success: npm run coverage

0 commit comments

Comments
 (0)