Skip to content

Commit 60371d6

Browse files
committed
fix(ci): use pnpm publish --no-git-checks instead of npm publish
1 parent 7ad02e4 commit 60371d6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ jobs:
8080
id-token: write
8181
contents: read
8282
steps:
83-
- name: ⎔ Setup Node.js
83+
- name: ⎔ Setup pnpm
84+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
85+
86+
- name: ⎔ Setup Node.js
8487
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
8588
with:
8689
node-version: 24
@@ -92,7 +95,7 @@ jobs:
9295
name: package
9396

9497
- name: 📦 Publish to NPM
95-
run: npm publish --ignore-scripts
98+
run: pnpm publish --no-git-checks --ignore-scripts
9699
env:
97100
NODE_AUTH_TOKEN: "" # Clear placeholder set by setup-node to enable OIDC
98101

0 commit comments

Comments
 (0)