Skip to content

Commit 318f1d8

Browse files
committed
chore: update release workflow
1 parent 569af38 commit 318f1d8

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,26 @@ jobs:
1212
steps:
1313
- name: Checkout repository
1414
uses: actions/checkout@v4
15-
16-
- name: Setup Nodejs
17-
uses: actions/setup-node@v4
1815
with:
19-
node-version: lts/*
16+
fetch-depth: 0
2017

2118
- name: Setup pnpm
2219
uses: pnpm/action-setup@v4
2320
with:
2421
version: latest
2522

23+
- name: Setup Nodejs
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: lts/*
27+
cache: pnpm
28+
registry-url: https://registry.npmjs.org
29+
30+
- name: Changelog
31+
run: npx changelogithub
32+
env:
33+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
34+
2635
- name: Install dependencies
2736
run: pnpm install --frozen-lockfile
2837

0 commit comments

Comments
 (0)