Skip to main content
Glama
ci.yml1.57 kB
name: CI on: pull_request: branches: [main] types: [opened, synchronize, reopened] permissions: pull-requests: write contents: read jobs: test: runs-on: ubuntu-latest strategy: matrix: node-version: [20] steps: - name: Checkout code uses: actions/checkout@v4 - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: "npm" - name: Install dependencies run: npm ci - name: Run tests (type checking) run: npm test - name: Check Prettier formatting run: npm run format:check - name: Build project run: npm run build - name: Verify build artifacts run: | if [ ! -f "dist/index.js" ]; then echo "Build failed: dist/index.js not found" exit 1 fi echo "✅ Build artifacts verified" dependabot_merge: runs-on: ubuntu-latest needs: test if: ${{ github.actor == 'dependabot[bot]' }} steps: - name: Auto-merge Dependabot PR run: | gh pr merge --auto --merge "$PR_URL" env: PR_URL: ${{ github.event.pull_request.html_url }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rickysullivan/gitbook-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server