Skip to content

Commit c524f2e

Browse files
chore: update npm version for OIDC release (#535)
* chore: update npm version for OIDC release * chore: run yarn format * chore: update npm version check to 11.6.2
1 parent a98f018 commit c524f2e

File tree

3 files changed

+43
-18
lines changed

3 files changed

+43
-18
lines changed

.cursor/worktrees.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"setup-worktree": [
3+
"yarn install"
4+
]
5+
}

.github/actions/release/action.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,26 @@ runs:
3939
upload-url: ${{ steps.create_release.outputs.upload_url }}
4040
release-tag: ${{ env.LATEST_TAG }}
4141

42+
- name: Set up Node.js for npm publish
43+
uses: actions/setup-node@v4
44+
with:
45+
registry-url: "https://registry.npmjs.org"
46+
scope: "@devcycle"
47+
48+
- name: Update npm for OIDC support
49+
shell: bash
50+
run: npm install -g [email protected]
51+
52+
- name: Verify npm version for OIDC
53+
shell: bash
54+
run: |
55+
npm_version=$(npm --version)
56+
echo "npm version: $npm_version"
57+
if [ "$(printf '%s\n' "11.6.2" "$npm_version" | sort -V | head -n1)" != "11.6.2" ]; then
58+
echo "Error: npm version $npm_version is below 11.6.2 required for OIDC trusted publishing"
59+
exit 1
60+
fi
61+
4262
- name: Publish to NPM
4363
shell: bash
4464
run: npm publish --access public

server.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
3-
"name": "com.devcycle/mcp",
4-
"description": "DevCycle MCP server for feature flag management",
5-
"version": "6.1.3",
6-
"repository": {
7-
"url": "https://github.com/DevCycleHQ/cli",
8-
"source": "github"
9-
},
10-
"websiteUrl": "https://docs.devcycle.com/cli-mcp/mcp-getting-started",
11-
"remotes": [
12-
{
13-
"type": "streamable-http",
14-
"url": "https://mcp.devcycle.com/mcp"
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
3+
"name": "com.devcycle/mcp",
4+
"description": "DevCycle MCP server for feature flag management",
5+
"version": "6.1.3",
6+
"repository": {
7+
"url": "https://github.com/DevCycleHQ/cli",
8+
"source": "github"
159
},
16-
{
17-
"type": "sse",
18-
"url": "https://mcp.devcycle.com/sse"
19-
}
20-
]
10+
"websiteUrl": "https://docs.devcycle.com/cli-mcp/mcp-getting-started",
11+
"remotes": [
12+
{
13+
"type": "streamable-http",
14+
"url": "https://mcp.devcycle.com/mcp"
15+
},
16+
{
17+
"type": "sse",
18+
"url": "https://mcp.devcycle.com/sse"
19+
}
20+
]
2121
}

0 commit comments

Comments
 (0)