From ad75c9e842b3ff20023e2e608e67683d49094289 Mon Sep 17 00:00:00 2001 From: Glen Maddern Date: Mon, 5 May 2025 15:11:18 +1000 Subject: [PATCH] Publishing all commits to pkg.pr.new --- .github/workflows/publish.yml | 30 ++++++++++++++++++++++++++++++ package.json | 1 + 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..dd32058 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,30 @@ +name: Publish Any Commit +on: + pull_request: + push: + branches: + - "**" + tags: + - "!**" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - run: corepack enable + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: "pnpm" + + - name: Install dependencies + run: pnpm install + + - name: Build + run: pnpm build + + - run: pnpm dlx pkg-pr-new publish --compact --bin diff --git a/package.json b/package.json index 341afe2..5ee38e5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "mcp-remote", "version": "0.1.2", + "packageManager": "pnpm@8.15.1", "description": "Remote proxy for Model Context Protocol, allowing local-only clients to connect to remote servers using oAuth", "keywords": [ "mcp",