chore: 更新 changelogithub 配置
This commit is contained in:
parent
6f87caf262
commit
4d518b06f4
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -16,9 +16,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Set node
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 22.11.0
|
registry-url: https://registry.npmjs.org/
|
||||||
|
node-version: lts/*
|
||||||
|
|
||||||
- run: npx changelogithub
|
- run: npx changelogithub
|
||||||
env:
|
env:
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"types": {
|
|
||||||
"feat": { "title": "Feat" },
|
|
||||||
"fix": { "title": "Fix" },
|
|
||||||
"perf": { "title": "Perf" },
|
|
||||||
"refactor": { "title": "Refactor" },
|
|
||||||
"docs": { "title": "Docs" },
|
|
||||||
"types": { "title": "Types" },
|
|
||||||
"test": { "title": "Test" },
|
|
||||||
"ci": { "title": "CI" },
|
|
||||||
"revert": { "title": "Revert" },
|
|
||||||
"chore": { "title": "Chore" }
|
|
||||||
}
|
|
||||||
}
|
|
14
package.json
14
package.json
@ -60,5 +60,19 @@
|
|||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*": "eslint --fix"
|
"*": "eslint --fix"
|
||||||
|
},
|
||||||
|
"changelogithub": {
|
||||||
|
"types": {
|
||||||
|
"feat": { "title": "Feat" },
|
||||||
|
"fix": { "title": "Fix" },
|
||||||
|
"perf": { "title": "Perf" },
|
||||||
|
"refactor": { "title": "Refactor" },
|
||||||
|
"docs": { "title": "Docs" },
|
||||||
|
"types": { "title": "Types" },
|
||||||
|
"test": { "title": "Test" },
|
||||||
|
"ci": { "title": "CI" },
|
||||||
|
"revert": { "title": "Revert" },
|
||||||
|
"chore": { "title": "Chore" }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user