chore: remove docs/ from repo and block future tracking #52
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: | |
| push: | |
| branches: ['**'] | |
| pull_request: | |
| jobs: | |
| build-and-test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'pnpm' | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm build | |
| - run: pnpm test | |
| - name: Verify npm tarball contents | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| cd packages/mcp-server | |
| # Fail the job if `npm pack --dry-run` itself fails (e.g. missing | |
| # files listed in package.json "files", malformed package.json). | |
| # `tee` preserves the status of the left-hand command via pipefail. | |
| npm pack --dry-run 2>&1 | tee pack-output.txt | |
| if grep -q "dev-tools/" pack-output.txt; then | |
| echo "ERROR: dev-tools/ in tarball" && exit 1 | |
| fi | |
| echo "Tarball contents clean" |