Skip to content

Commit

Permalink
chore: add release-it hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
bingtsingw committed Dec 30, 2023
1 parent 963d85f commit f32c6f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"releaseName": "v${version}",
"tokenRef": "RELEASE_IT_GITHUB_TOKEN"
},
"hooks": {
"before:init": ["npm run format", "npm run lint:js", "npm run test"],
"after:bump": "npm run build",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
Expand Down

0 comments on commit f32c6f1

Please sign in to comment.