Skip to content

Commit 8c45e68

Browse files
committed
Fix release workflow to run npm scripts correctly
Use `pnpm run version` and `pnpm run release` instead of `pnpm version` and `pnpm release` to ensure the package.json scripts are executed rather than pnpm's built-in commands.
1 parent d7de927 commit 8c45e68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
id: changesets
4040
uses: changesets/action@v1
4141
with:
42-
publish: pnpm release
43-
version: pnpm version
44-
title: "chore: version packages"
45-
commit: "chore: version packages"
42+
publish: pnpm run release
43+
version: pnpm run version
44+
title: "chore: release packages"
45+
commit: "chore: release packages"
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)