docs: add MCP server to Building with AI page (#333) #783
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: Lint | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'openapi.yaml' | |
| - 'openapi/**' | |
| - '.markdownlint.json' | |
| - '.spectral.yaml' | |
| - 'mintlify/**' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'openapi.yaml' | |
| - 'openapi/**' | |
| - '.markdownlint.json' | |
| - '.spectral.yaml' | |
| - 'mintlify/**' | |
| # Allow manual triggering | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| name: Lint Code & Documentation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '24' | |
| cache: 'npm' | |
| - name: Install libsecret | |
| run: sudo apt-get update && sudo apt-get install -y libsecret-1-dev | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install mint | |
| run: npm i -g mint | |
| - name: Lint | |
| run: make lint |