Add support for Claude MCP configuration files in CLI run command #3355
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: anthropic tests | |
| permissions: | |
| contents: read | |
| on: | |
| workflow_dispatch: | |
| release: | |
| types: | |
| - published | |
| pull_request: | |
| paths: | |
| - yarn.lock | |
| - ".github/workflows/anthropic.yml" | |
| - "packages/core/**/*" | |
| - "packages/cli/**/*" | |
| - "samples/**/*" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-anthropic | |
| cancel-in-progress: true | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: "recursive" | |
| fetch-depth: 0 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - name: compile | |
| run: pnpm build:cli | |
| - name: poem | |
| continue-on-error: true | |
| run: pnpm run:script poem -p anthropic --out-trace $GITHUB_STEP_SUMMARY | |
| env: | |
| ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | |
| - name: reasoning | |
| continue-on-error: true | |
| run: pnpm run:script tools -p anthropic -m reasoning --out-trace $GITHUB_STEP_SUMMARY | |
| env: | |
| ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} |