actions-marketplace-validations/Node Package Release
A template to create custom GitHub Action with TypeScript/JavaScript.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token. | no | ${{ github.token }} |
| directory | Directory to find package.json if it's not the project's root directory. | no | ./ |
| release-type | One of the following: major, minor, patch, premajor, preminor, prepatch, prerelease. | no | prerelease |
| prerelease | Mark the GitHub Release as a pre-release. | no | false |
| update-shorthand-release | Useful when releasing a GitHub Action, e.g. always updating v1 to the latest v1.*.* and always updating v1.2 to the latest v1.2.*. | no | false |
| skip-if-no-diff | When this is true, this Action does nothing if there is no change since last release of the same release type. | no | false |
| diff-targets | Files, directories, and/or globs to run diff that determines whether to skip. No effect when skip-if-no-diff is false. | no | . |
| dry-run | Dry run without making changes. | no | false |
Outputs
| name | description |
|---|---|
| tag | The git tag created for this release, e.g. v1.2.3. |
| skipped | Indicator of whether the Action is skipped because of the skip-if-no-diff input. |