Skip to content

Commit

Permalink
feat(ci-cd): add changelog auto update with semantic release (#4)
Browse files Browse the repository at this point in the history
add changelog auto update with semantic release and github actions

closes #4
  • Loading branch information
lucasvtiradentes committed Dec 3, 2022
1 parent 91c149c commit 9f3726a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release/npm",
{
"npmPublish": true
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
]
}
]
]
}
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/git": "^10.0.1",
"@types/dotenv": "^8.2.0",
"@types/node": "^18.11.9",
"@types/request": "^2.48.8",
Expand All @@ -55,10 +57,10 @@
"dotenv": "^16.0.3",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.2",
"prettier": "^2.8.0",
"semantic-release": "^19.0.5",
"ts-node-dev": "^2.0.0",
"typescript": "^4.9.3",
"husky": "^8.0.2",
"semantic-release": "^19.0.5"
"typescript": "^4.9.3"
}
}

0 comments on commit 9f3726a

Please sign in to comment.