Skip to content

Commit f3947d5

Browse files
committed
fix(ci): use pnpm and Node.js 24 in release workflow
1 parent f321ba0 commit f3947d5

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
13-
- name: Set up Node.js
12+
- name: Install pnpm
13+
uses: pnpm/action-setup@v4
14+
with:
15+
version: latest
16+
- name: Use Node.js 24.x
1417
uses: actions/setup-node@v4
1518
with:
16-
node-version: "20"
17-
18-
- name: Install dependencies
19-
run: npm ci
20-
21-
- name: Run semantic-release
22-
env:
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24-
run: npx semantic-release
19+
node-version: 24.x
20+
cache: "pnpm"
21+
- run: pnpm install --frozen-lockfile
22+
- run: pnpm dlx semantic-release

0 commit comments

Comments
 (0)