From 4d518b06f4f0c3da46fc3afbd28f30a3ad0dd7d8 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Mon, 25 Nov 2024 19:32:16 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20changelogithub=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 4 +++- changelogithub.config.json | 14 -------------- package.json | 14 ++++++++++++++ 3 files changed, 17 insertions(+), 15 deletions(-) delete mode 100644 changelogithub.config.json diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5add878..d645471 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,9 +16,11 @@ jobs: with: fetch-depth: 0 + - name: Set node - uses: actions/setup-node@v4 with: - node-version: 22.11.0 + registry-url: https://registry.npmjs.org/ + node-version: lts/* - run: npx changelogithub env: diff --git a/changelogithub.config.json b/changelogithub.config.json deleted file mode 100644 index b6bdd06..0000000 --- a/changelogithub.config.json +++ /dev/null @@ -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" } - } -} diff --git a/package.json b/package.json index 8ad605c..ac65f14 100644 --- a/package.json +++ b/package.json @@ -60,5 +60,19 @@ }, "lint-staged": { "*": "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" } + } } }