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" } + } } }