Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
# Trusted Publisher (OIDC): 不设置 registry-url,避免 .npmrc
# 中生成空 _authToken 干扰 npm 的 OIDC 自动检测

- name: Update npm for OIDC support
run: |
corepack enable npm
corepack prepare npm@latest --activate
npm --version

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -67,7 +72,7 @@ jobs:
echo "Publishing stable version $VERSION"
npm publish --provenance
fi
# Trusted Publisher: npm CLI 自动通过 OIDC 认证,无需 NODE_AUTH_TOKEN
# Trusted Publisher: npm 11+ 自动通过 OIDC 认证,无需 NODE_AUTH_TOKEN

- name: Create GitHub Release
if: steps.version.outputs.should_publish == 'true'
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@maplezzk/mcps",
"version": "1.6.6",
"version": "1.6.7",
"description": "A CLI to manage and use MCP servers",
"publishConfig": {
"access": "public"
Expand Down
Loading