A demo repository for GitHub Actions
This repository is used by me for learning and experimenting with github actions.
{
"branches": [
"main"
],
"ci": false,
"plugins": [
"@semantic-release/commit-analyzer", //Collects all commit messages since the last release and determines the type of release based on the commit messages.
"@semantic-release/release-notes-generator", //Generates release notes for the commits added since the last release.
"@semantic-release/github", //Creates a GitHub release with the release notes and upload the release assets to GitHub releases.
"@semantic-release/changelog", //Creates or updates a changelog file in the local project directory.
[
"@semantic-release/git", //Creates a release commit, updates the version in package.json and publish the release commit to the git remote repository.
{
"assets": [
"CHANGELOG.md" //assets we want to commit to the repo
],
"message": "release: version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" //commit message, skip ci to avoid infinite loop
}
]
]
}