diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f969e10..1aade67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,21 +71,23 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # publish-npm: - # name: Publish to npm - # needs: release - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # - # - name: Setup Node.js - # uses: actions/setup-node@v3 - # with: - # node-version: '18' - # registry-url: 'https://registry.npmjs.org' - # - # - name: Publish to npm - # working-directory: ./npm - # run: npm publish --access public - # env: - # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + publish-npm: + name: Publish to npm + needs: release + runs-on: ubuntu-latest + # Requires an NPM_TOKEN repo secret — an npm "Automation" (or granular, + # 2FA-bypass) token that owns argonctl, so CI can publish without an OTP. + steps: + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + registry-url: 'https://registry.npmjs.org' + + - name: Publish to npm + working-directory: ./npm + run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/server.json b/server.json index 18d6545..631a5b4 100644 --- a/server.json +++ b/server.json @@ -1,7 +1,7 @@ { "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "io.github.argon-lab/argon", - "description": "Versioned MongoDB sandboxes for AI agents — branch, time-travel, diff/merge, and undo a MongoDB database over MCP.", + "description": "Versioned MongoDB sandboxes for AI agents: branch, time-travel, merge, and undo over MCP.", "repository": { "url": "https://github.com/argon-lab/argon", "source": "github"