Skip to content

Commit

Permalink
ci: run semantic release in the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
davidballester committed Aug 2, 2019
1 parent fac135b commit d0c6a5b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ jobs:

# run tests!
- run: npm run test

# build
- run: npm run build

# release
- run: npx semantic-release
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@redux-saga/testing-utils": "1.0.2",
"@semantic-release/github": "^5.4.2",
"husky": "^3.0.2",
"patch-package": "^6.1.2",
"postinstall-postinstall": "^2.0.0",
Expand Down
12 changes: 12 additions & 0 deletions src/.releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/github",
{
"assets": [{ "path": "build/**", "label": "Distribution" }]
}
]
]
}

0 comments on commit d0c6a5b

Please sign in to comment.