Skip to content

Commit ef00fb7

Browse files
authored
Merge pull request #238 from Flux159/pr238
Updating cd.yml again for npm trusted publishers
2 parents deff92f + e0175e8 commit ef00fb7

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/cd.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,17 @@ jobs:
104104
- name: Build For production
105105
run: bun run build
106106

107+
- name: Setup Node.js for NPM publish
108+
uses: actions/setup-node@v4
109+
with:
110+
node-version: "20"
111+
registry-url: "https://registry.npmjs.org"
112+
113+
- name: Update npm for OIDC support
114+
run: npm install -g npm@latest
115+
107116
- name: Publish to NPM
108-
run: |
109-
npm install -g npm@latest
110-
npm publish
117+
run: npm publish
111118

112119
- name: Update, Package and Push Helm chart to GHCR
113120
run: |

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-kubernetes",
3-
"version": "3.0.0",
3+
"version": "2.9.9",
44
"description": "MCP server for interacting with Kubernetes clusters via kubectl",
55
"license": "MIT",
66
"type": "module",

0 commit comments

Comments
 (0)