Skip to content
This repository was archived by the owner on May 28, 2026. It is now read-only.

Commit 7f04e5c

Browse files
committed
ci: release using pnpm
1 parent d392b71 commit 7f04e5c

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
3131
with:
3232
DRY_RUN: true
33+
EXTRA_PLUGINS: |
34+
@semantic-release/exec
3335
build:
3436
name: Build
3537
uses: dargmuesli/github-actions/.github/workflows/docker.yml@c980106b984bec43dd538a9d24ecc2212967797d # 5.3.0
@@ -52,6 +54,10 @@ jobs:
5254
id-token: write
5355
secrets:
5456
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
57+
with:
58+
COREPACK_ENABLED: true
59+
EXTRA_PLUGINS: |
60+
@semantic-release/exec
5561
deploy:
5662
needs: build
5763
name: Deploy

‎.releaserc.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"@semantic-release/release-notes-generator",
55
"@semantic-release/changelog",
66
[
7-
"@semantic-release/npm",
7+
"@semantic-release/exec",
88
{
9-
"pkgRoot": "./src"
9+
"prepareCmd": "pnpm --dir src version ${nextRelease.version} --git-tag-version=false --no-git-checks"
1010
}
1111
],
1212
"@semantic-release/github",

0 commit comments

Comments
 (0)