Skip to content

fix: update version to 1.0.2 in package.json, package-lock.json, and … #11

fix: update version to 1.0.2 in package.json, package-lock.json, and …

fix: update version to 1.0.2 in package.json, package-lock.json, and … #11

Workflow file for this run

name: Publish to MCP Registry
on:
push:
tags:
- 'v*'
workflow_dispatch:
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
- name: Run type check
run: npm run type-check
- name: Install MCP Publisher
run: |
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
RELEASE_TAG=$(curl -s https://api.github.com/repos/modelcontextprotocol/registry/releases | \
jq -r '.[] | select(.assets | map(.name) | any(test("mcp-publisher_"))) | .tag_name' | head -1)
echo "Downloading mcp-publisher ${RELEASE_TAG} for ${OS}_${ARCH}"
curl -fL "https://github.com/modelcontextprotocol/registry/releases/download/${RELEASE_TAG}/mcp-publisher_${OS}_${ARCH}.tar.gz" | tar xz
chmod +x mcp-publisher
- name: Login to MCP Registry
env:
MCP_PRIVATE_KEY: ${{ secrets.MCP_PRIVATE_KEY }}
run: ./mcp-publisher login dns --domain docusign-navigator.thisdot.co --private-key "$MCP_PRIVATE_KEY"
- name: Publish to MCP Registry
run: ./mcp-publisher publish