We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 952026b commit fbe5ab3Copy full SHA for fbe5ab3
1 file changed
.github/workflows/publish.yml
@@ -31,10 +31,6 @@ jobs:
31
node-version: '24'
32
registry-url: 'https://registry.npmjs.org'
33
34
- # 确保使用最新版本的 npm 以支持 Trusted Publishing
35
- - name: Update npm
36
- run: npm install -g npm@latest
37
-
38
- name: Install dependencies
39
run: pnpm install
40
@@ -47,4 +43,4 @@ jobs:
47
43
# 使用 OIDC Trusted Publishing 发布,无需 token
48
44
# 在 npmjs.com 上配置 Trusted Publisher 后,npm 会自动使用 OIDC 认证
49
45
- name: Publish to npm
50
- run: npm publish --access public --provenance=false
46
+ run: npm publish --access public
0 commit comments