From 58e0960355431976462bce998c583cd5e06f84cb Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Thu, 30 Oct 2025 16:23:13 -0400 Subject: [PATCH 1/3] chore: update npm version for OIDC release --- .cursor/worktrees.json | 5 +++++ .github/actions/release/action.yml | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .cursor/worktrees.json diff --git a/.cursor/worktrees.json b/.cursor/worktrees.json new file mode 100644 index 00000000..ded97ab6 --- /dev/null +++ b/.cursor/worktrees.json @@ -0,0 +1,5 @@ +{ + "setup-worktree": [ + "yarn install" + ] +} diff --git a/.github/actions/release/action.yml b/.github/actions/release/action.yml index 0e268709..9b1b9239 100644 --- a/.github/actions/release/action.yml +++ b/.github/actions/release/action.yml @@ -39,6 +39,26 @@ runs: upload-url: ${{ steps.create_release.outputs.upload_url }} release-tag: ${{ env.LATEST_TAG }} + - name: Set up Node.js for npm publish + uses: actions/setup-node@v4 + with: + registry-url: "https://registry.npmjs.org" + scope: "@devcycle" + + - name: Update npm for OIDC support + shell: bash + run: npm install -g npm@11.6.2 + + - name: Verify npm version for OIDC + shell: bash + run: | + npm_version=$(npm --version) + echo "npm version: $npm_version" + if [ "$(printf '%s\n' "11.5.1" "$npm_version" | sort -V | head -n1)" != "11.5.1" ]; then + echo "Error: npm version $npm_version is below 11.5.1 required for OIDC trusted publishing" + exit 1 + fi + - name: Publish to NPM shell: bash run: npm publish --access public From 34deb79cacfb890c5057f491c5e644ace667bb3a Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Thu, 30 Oct 2025 16:25:05 -0400 Subject: [PATCH 2/3] chore: run yarn format --- server.json | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/server.json b/server.json index 528ecd13..be8fefdf 100644 --- a/server.json +++ b/server.json @@ -1,21 +1,21 @@ { - "$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json", - "name": "com.devcycle/mcp", - "description": "DevCycle MCP server for feature flag management", - "version": "6.1.3", - "repository": { - "url": "https://github.com/DevCycleHQ/cli", - "source": "github" - }, - "websiteUrl": "https://docs.devcycle.com/cli-mcp/mcp-getting-started", - "remotes": [ - { - "type": "streamable-http", - "url": "https://mcp.devcycle.com/mcp" + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json", + "name": "com.devcycle/mcp", + "description": "DevCycle MCP server for feature flag management", + "version": "6.1.3", + "repository": { + "url": "https://github.com/DevCycleHQ/cli", + "source": "github" }, - { - "type": "sse", - "url": "https://mcp.devcycle.com/sse" - } - ] + "websiteUrl": "https://docs.devcycle.com/cli-mcp/mcp-getting-started", + "remotes": [ + { + "type": "streamable-http", + "url": "https://mcp.devcycle.com/mcp" + }, + { + "type": "sse", + "url": "https://mcp.devcycle.com/sse" + } + ] } From 7cb544072938b45047e35a623b218b3621ea352e Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Thu, 30 Oct 2025 16:26:05 -0400 Subject: [PATCH 3/3] chore: update npm version check to 11.6.2 --- .github/actions/release/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/release/action.yml b/.github/actions/release/action.yml index 9b1b9239..bcf776c8 100644 --- a/.github/actions/release/action.yml +++ b/.github/actions/release/action.yml @@ -54,8 +54,8 @@ runs: run: | npm_version=$(npm --version) echo "npm version: $npm_version" - if [ "$(printf '%s\n' "11.5.1" "$npm_version" | sort -V | head -n1)" != "11.5.1" ]; then - echo "Error: npm version $npm_version is below 11.5.1 required for OIDC trusted publishing" + if [ "$(printf '%s\n' "11.6.2" "$npm_version" | sort -V | head -n1)" != "11.6.2" ]; then + echo "Error: npm version $npm_version is below 11.6.2 required for OIDC trusted publishing" exit 1 fi