Skip to content

Commit f23202f

Browse files
committed
chore: update release workflow to use pnpm for package management
1 parent bd25602 commit f23202f

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ jobs:
1818
fetch-depth: 0
1919
token: ${{ secrets.GITHUB_TOKEN }}
2020

21+
- uses: pnpm/action-setup@v4
22+
with:
23+
version: 9
24+
2125
- uses: actions/setup-node@v4
2226
with:
2327
node-version: 20
24-
cache: npm
28+
cache: pnpm
2529

26-
- run: npm ci
30+
- run: pnpm install --frozen-lockfile
2731

2832
- env:
2933
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3034
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
31-
run: npx semantic-release
35+
run: pnpm exec semantic-release

0 commit comments

Comments
 (0)