豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 42b1c13

Browse files
fix: use Node 24 with npm trusted publishing (no token needed)
1 parent c55e30d commit 42b1c13

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,8 @@ jobs:
2323
- name: Setup Node.js
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: '22'
27-
28-
- name: Configure npm registry
29-
run: |
30-
npm config set registry https://registry.npmjs.org/
31-
npm config set //registry.npmjs.org/:_authToken ""
26+
node-version: '24'
27+
registry-url: 'https://registry.npmjs.org'
3228

3329
- name: Validate version matches tag
3430
run: |
@@ -57,5 +53,5 @@ jobs:
5753
prerelease: ${{ contains(github.ref_name, '-') }}
5854
generate_release_notes: true
5955

60-
- name: Publish to npm with provenance
61-
run: npm publish --provenance --access public
56+
- name: Publish to npm
57+
run: npm publish

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mcp-server-diff",
3-
"version": "2.1.4",
3+
"version": "2.1.5",
44
"description": "Diff MCP server public interfaces - CLI tool and GitHub Action",
55
"main": "dist/index.js",
66
"bin": {

0 commit comments

Comments
 (0)