Skip to content

Commit 7ea9b74

Browse files
committed
fix(ci): disable pnpm git checks for generated release packages (#1103)
The release workflow generates package manifests and downloads binaries into the working tree before publishing. Since PR #1095 switched from npm publish to pnpm publish, pnpm's default Git cleanliness check rejects these expected untracked release artifacts. Pass --no-git-checks to pnpm publish so the generated packages can be published while retaining provenance and public access. Fixes the publish failure in https://github.com/oxc-project/tsgolint/actions/runs/29832181709/job/88640788258
1 parent a90133b commit 7ea9b74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
run: |
7171
for package in npm/*; do
7272
pushd "$package"
73-
pnpm publish --provenance --access public
73+
pnpm publish --no-git-checks --provenance --access public
7474
popd
7575
done
7676

0 commit comments

Comments
 (0)