Skip to main content
Glama
run-tests.yml1.9 kB
name: Compile and run tests permissions: read-all on: push: branches: - main pull_request: jobs: run-tests: name: Tests on ${{ matrix.os }} with node ${{ matrix.node }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - ubuntu-latest - windows-latest - macos-latest node: - 20 - 22 - 23 - 24 steps: - name: Check out repository uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: fetch-depth: 2 - name: Set up Node.js uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 with: cache: npm node-version: 22 # build works only with 22+. - name: Install dependencies shell: bash run: npm ci - name: Build run: npm run bundle env: NODE_OPTIONS: '--max_old_space_size=4096' - name: Set up Node.js uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 with: cache: npm node-version: ${{ matrix.node }} - name: Disable AppArmor if: ${{ matrix.os == 'ubuntu-latest' }} shell: bash run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns - name: Run tests (node20) if: ${{ matrix.node == '20' }} shell: bash run: npm run test:node20 - name: Run tests shell: bash if: ${{ matrix.node != '20' }} run: npm run test:no-build # Gating job for branch protection. test-success: name: '[Required] Tests passed' runs-on: ubuntu-latest needs: run-tests if: ${{ !cancelled() }} steps: - if: ${{ needs.run-tests.result != 'success' }} run: 'exit 1' - run: 'exit 0'

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/ChromeDevTools/chrome-devtools-mcp'

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