feat(cli): add A2A follow-up command #16
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: agent-dispatch/core | |
| path: .agentdispatch-deps/core | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: agent-dispatch/adapter-aws-agentcore | |
| path: .agentdispatch-deps/adapter-aws-agentcore | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Pack current core | |
| run: | | |
| npm --prefix .agentdispatch-deps/core install | |
| npm --prefix .agentdispatch-deps/core run build | |
| (cd .agentdispatch-deps/core && npm pack --pack-destination "$GITHUB_WORKSPACE/.agentdispatch-deps") | |
| - name: Pack current AWS adapter | |
| run: | | |
| npm --prefix .agentdispatch-deps/adapter-aws-agentcore install | |
| npm --prefix .agentdispatch-deps/adapter-aws-agentcore install --no-save "$PWD"/.agentdispatch-deps/agent-dispatch-core-*.tgz | |
| npm --prefix .agentdispatch-deps/adapter-aws-agentcore run build | |
| (cd .agentdispatch-deps/adapter-aws-agentcore && npm pack --pack-destination "$GITHUB_WORKSPACE/.agentdispatch-deps") | |
| - run: npm install | |
| - run: npm install --no-save .agentdispatch-deps/agent-dispatch-core-*.tgz .agentdispatch-deps/agent-dispatch-adapter-aws-agentcore-*.tgz | |
| - run: npm run typecheck | |
| - run: npm test --if-present | |
| - run: npm run build |