diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-04-13 14:09:19 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-04-13 14:09:19 +0000 |
| commit | bc5c1a1b312a69931e9eabca8fae8ff9f02a2c85 (patch) | |
| tree | e29d5c74c328b50a99a74d9155ecd38de6b63977 /.github/workflows | |
| parent | 7853096cfcc735c0246bb9d0a0e2b8da86547ba7 (diff) | |
| download | karakeep-bc5c1a1b312a69931e9eabca8fae8ff9f02a2c85.tar.zst | |
build: Allow auto deployment of MCP package to npm
Diffstat (limited to '.github/workflows')
| -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 }} + |
