Skip to content

Commit a2b8fad

Browse files
committed
chore: configure changelogithub
1 parent 7c7c102 commit a2b8fad

File tree

6 files changed

+389
-5
lines changed

6 files changed

+389
-5
lines changed

.github/workflows/autofix-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
cache: pnpm
2626

2727
- name: Setup
28-
run: npm i -g @antfu/ni
28+
run: pnpm i -g @antfu/ni
2929

3030
- name: Install
3131
run: ni --no-frozen-lockfile

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
cache: pnpm
2626

2727
- name: Setup
28-
run: npm i -g @antfu/ni
28+
run: pnpm i -g @antfu/ni
2929

3030
- name: Install
3131
run: nci
@@ -48,7 +48,7 @@ jobs:
4848
cache: pnpm
4949

5050
- name: Setup
51-
run: npm i -g @antfu/ni
51+
run: pnpm i -g @antfu/ni
5252

5353
- name: Install
5454
run: nci
@@ -78,7 +78,7 @@ jobs:
7878
cache: pnpm
7979

8080
- name: Setup
81-
run: npm i -g @antfu/ni
81+
run: pnpm i -g @antfu/ni
8282

8383
- name: Install
8484
run: nci

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,19 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818

19+
- name: Setup PNPM
20+
run: corepack enable
21+
1922
- uses: actions/setup-node@v3
2023
with:
2124
node-version: 24.x
2225

23-
- run: npx changelogithub
26+
- name: Setup
27+
run: pnpm i -g @antfu/ni
28+
29+
- name: Install
30+
run: nci
31+
32+
- run: nlx changelogithub
2433
env:
2534
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

changelogithub.config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { defineConfig } from "changelogithub";
2+
3+
export default defineConfig({
4+
types: {
5+
ci: { title: "👷 CI" },
6+
chore: { title: "🧹 Chore" },
7+
refactor: { title: "🔨 Refactor" },
8+
},
9+
});

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@typescript/native-preview": "7.0.0-dev.20251030.1",
2121
"@vue-macros/test-utils": "^3.1.1",
2222
"bumpp": "^10.3.1",
23+
"changelogithub": "^13.16.1",
2324
"eslint": "^9.38.0",
2425
"prettier": "^3.6.2",
2526
"tsdown": "^0.15.11",

0 commit comments

Comments
 (0)