mirror of
https://github.com/scratchfoundation/scratch-semantic-release-config.git
synced 2024-11-23 16:08:09 -05:00
semantic-release shareable configuration for Scratch
9c153ffa2c
fix: broken build badge |
||
---|---|---|
.editorconfig | ||
.gitignore | ||
.npmrc | ||
.releaserc.json | ||
.travis.yml | ||
CHANGELOG.md | ||
LICENSE | ||
package.json | ||
README.md |
@jedmao/semantic-release-npm-github-config
semantic-release shareable config to publish npm packages with GitHub.
Plugins
This shareable configuration use the following plugins:
@semantic-release/commit-analyzer
@semantic-release/release-notes-generator
@semantic-release/npm
@semantic-release/github
@semantic-release/git
Install
$ npm install --save-dev semantic-release @jedmao/semantic-release-npm-github-config
Usage
The shareable config can be configured in the semantic-release configuration file:
{
"extends": "@jedmao/semantic-release-npm-github-config",
"branch": "master"
}
Configuration
Ensure that your CI configuration has the following environment variables set:
GH_TOKEN
withpublic_repo
access.NPM_TOKEN
See each plugin documentation for required installation and configuration steps.