We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/terryso/tv-recommender-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
name: NPM发布
on:
push:
tags:
- 'v*' # 匹配所有以 v 开头的标签,如 v1.0.0
release:
types: [created]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- name: 设置测试环境变量
run: echo "TMDB_API_KEY=fake_api_key_for_ci" >> $GITHUB_ENV
- name: 运行测试
run: npm test -- --coverage
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}