Skip to content

Commit c6a246b

Browse files
committed
fix: ci
chore: release v2.7.5
1 parent ec33a05 commit c6a246b

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/npm-publish.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
registry-url: 'https://registry.npmjs.org'
2828

2929
- name: Cd to mcp
30+
working-directory: ./mcp
3031
run: |
3132
node -v
3233
npm -v
@@ -42,7 +43,4 @@ jobs:
4243

4344
- name: Publish to npm
4445
working-directory: ./mcp
45-
run: npm publish --provenance --access public
46-
env:
47-
# 显式确保不使用任何 Token 环境变量,强迫使用 OIDC
48-
NODE_AUTH_TOKEN: ''
46+
run: NODE_AUTH_TOKEN="" npm publish --provenance --access public --verbose

mcp/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.

mcp/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudbase/cloudbase-mcp",
3-
"version": "2.7.4",
3+
"version": "2.7.5",
44
"description": "腾讯云开发 MCP Server,通过AI提示词和MCP协议+云开发,让开发更智能、更高效,当你在Cursor/ VSCode GitHub Copilot/WinSurf/CodeBuddy/Augment Code/Claude Code等AI编程工具里写代码时,它能自动帮你生成可直接部署的前后端应用+小程序,并一键发布到腾讯云开发 CloudBase。",
55
"main": "./dist/index.cjs",
66
"module": "./dist/index.js",
@@ -9,6 +9,10 @@
99
"bin": {
1010
"cloudbase-mcp": "./dist/cli.cjs"
1111
},
12+
"publishConfig": {
13+
"access": "public",
14+
"provenance": true
15+
},
1216
"exports": {
1317
".": {
1418
"import": {

0 commit comments

Comments
 (0)