Skip to main content
Glama
release.yml1.89 kB
name: Release # This workflow runs after CI succeeds on the main branch. # By default, all packages are private and won't be published to npm. # To enable publishing: set "private": false in package.json and add NPM_TOKEN secret. # See README.md for detailed setup instructions. on: workflow_run: workflows: ["CI"] types: - completed branches: - main workflow_dispatch: inputs: force_publish: description: 'Force publish all packages' type: boolean default: false concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: release: name: Release runs-on: ubuntu-latest # Only run if CI workflow succeeded if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }} steps: - name: Checkout Repo uses: actions/checkout@v4 with: # This makes Actions fetch all Git history so that Changesets can generate changelogs fetch-depth: 0 - name: Setup pnpm uses: pnpm/action-setup@v3 with: version: 8 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 22 cache: 'pnpm' registry-url: 'https://registry.npmjs.org' - name: Install Dependencies run: pnpm install - name: Build Packages run: pnpm build - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 with: version: pnpm changeset version publish: pnpm changeset publish commit: 'chore(release): version packages' title: 'chore(release): version packages' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_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/prosdevlab/doc-agent'

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