ci: update docs build, semantic release

docs: update config files entry
This commit is contained in:
2023-11-30 02:35:31 +02:00
committed by Chen Asraf
parent f666c357f4
commit 7e1acf0607
3 changed files with 7 additions and 23 deletions

View File

@@ -6,7 +6,7 @@ on:
jobs:
docs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip docs]')"
if: "contains(github.event.head_commit.message, 'chore(release)')"
steps:
- name: Checkout
uses: actions/checkout@v3

View File

@@ -126,12 +126,12 @@ simple-scaffold -c <git_url>[#<git_file>][:<template_key>]
For example, to use this repository's example as base:
```shell
simple-scaffold -c https://github.com/chenasraf/simple-scaffold.git#examples/test-input/scaffold.config.js:component
simple-scaffold -c https://github.com/chenasraf/simple-scaffold.git#scaffold.config.js:component
```
When the filename is omitted, `/scaffold.config.js` will be used as default.
When the `filename` is omitted, `/scaffold.config.js` will be used as default.
When the template_key is ommitted, `default` will be used as default.
When the `template_key` is ommitted, `default` will be used as default.
### GitHub Templates
@@ -147,7 +147,7 @@ simple-scaffold -gh <username>/<project_name>[#<git_file>][:<template_key>]
This example is equivalent to the above, just shorter to write:
```shell
simple-scaffold -c chenasraf/simple-scaffold#examples/test-input/scaffold.config.js:component
simple-scaffold -c chenasraf/simple-scaffold#scaffold.config.js:component
```
## Use In Node.js

View File

@@ -5,24 +5,8 @@ module.exports = {
path: "semantic-release-conventional-commits",
},
plugins: [
[
"@semantic-release/commit-analyzer",
{
preset: "conventionalcommits",
parserOpts: {
noteKeywords: ["breaking:", "breaking-fix:", "breaking-feat:"],
},
},
],
[
"@semantic-release/release-notes-generator",
{
preset: "conventionalcommits",
parserOpts: {
noteKeywords: ["breaking", "major"],
},
},
],
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{