Made logging consistent between all clients (using MCP_LOG_FILE), upd… #358
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: CLI Tests | |
| on: | |
| push: | |
| paths: | |
| - "clients/cli/**" | |
| pull_request: | |
| paths: | |
| - "clients/cli/**" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./clients/cli | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: package.json | |
| cache: npm | |
| - name: Install dependencies | |
| run: | | |
| cd .. | |
| npm ci --ignore-scripts | |
| - name: Build core package | |
| working-directory: . | |
| run: npm run build-core | |
| - name: Build test package | |
| working-directory: . | |
| run: npm run build-test | |
| - name: Build CLI | |
| working-directory: . | |
| run: npm run build-cli | |
| - name: Run tests | |
| run: npm test | |
| env: | |
| NPM_CONFIG_YES: true | |
| CI: true |