Skip to content

0.0.3

0.0.3 #2

Workflow file for this run

name: Publish MCP to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Sync version with release tag
run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version
- name: Build package
run: npm run build
- name: Publish to npmjs
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}