diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/mcp.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/mcp.yml b/.github/workflows/mcp.yml new file mode 100644 index 00000000..b38cfa9a --- /dev/null +++ b/.github/workflows/mcp.yml @@ -0,0 +1,24 @@ +name: Publish MCP Package to npm +on: + push: + tags: + # This is a glob pattern not a regex + - 'mcp/v[0-9]+.[0-9]+.[0-9]+' +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup + uses: ./tooling/github/setup + + - name: Build MCP + run: pnpm build + working-directory: apps/mcp + + - run: pnpm publish --access public --no-git-checks + working-directory: apps/mcp + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} + |
