How to pin ClearRun package versions in CI

Use an exact version, such as npx -y @clearrun/cli@1.2.0 or "@clearrun/sdk": "1.2.0" in package.json. Update on purpose, after reading what changed.

Last updated

Steps

  1. CLI in CI

    npx -y @clearrun/cli@1.2.0 score
  2. SDK in package.json

    "dependencies": {
      "@clearrun/sdk": "1.2.0"
    }

    Commit your lockfile.

  3. MCP config

    "args": ["-y", "@clearrun/mcp@1.2.0"]

Why

Commands change between versions. For example, score arrived in CLI 0.3.0. A pinned version keeps CI the same until you choose to update.