@unsupervised/release-config-javascript-actions v1.0.4
release-config-javascript-actions
A semantic-release sharable configuration for releasing github javascript actions. This release config leverages the exec plugin to move the v{major} tag so that actions can be referenced via the v{major} tag and get updates, since actions doesn't support actual semver ranges yet. For example if an action is version 1.0.3 and the v1 tag is at 1.0.3, on release a new tag will be created and the v{major} tag will be moved to the new release.
This config also includes the README.md in the git plugin, for actions that use the readme generator action https://github.com/marketplace/actions/github-readme-generator
This config also uses the npm plugin with npmPublish: false so that the version in package.json gets incremented, but nothing gets published to the npm registry.
Plugins
This shareable configuration use the following plugins:
@semantic-release/exec@semantic-release/commit-analyzer@semantic-release/release-notes-generator@semantic-release/changelog@semantic-release/npm@semantic-release/git@semantic-release/github
Install
$ npm install --save-dev semantic-release @unsupervised/release-config-javascript-actionsUsage
The shareable config can be configured in the semantic-release configuration file:
{
"extends": "@unsupervised/release-config-javascript-actions"
}Configuration
See each plugin documentation for required installation and configuration steps.