GitHub Actions 工作流使用说明
工作流概述
本仓库配置了以下 GitHub Actions 工作流:
- 版本更新 (version-bump): 用于自动更新 npm 包版本号
- NPM 包发布 (npm-publish): 用于自动构建并发布 npm 包到 npmjs.com
使用方法
版本更新工作流
此工作流允许你通过 GitHub 界面手动触发版本更新:
- 进入仓库的 “Actions” 选项卡
- 选择 “版本更新” 工作流
- 点击 “Run workflow” 按钮
- 选择版本更新类型(patch、minor 或 major)
- 点击 “Run workflow” 确认
工作流将自动:
- 更新 package.json 中的版本号
- 创建对应的 Git 标签
- 提交并推送所有更改
NPM 包发布工作流
此工作流在以下情况下自动触发:
- 当创建新的 GitHub Release 时
- 手动触发时
要手动触发发布流程:
- 进入仓库的 “Actions” 选项卡
- 选择 “发布 NPM 包” 工作流
- 点击 “Run workflow” 按钮
- 点击 “Run workflow” 确认
配置 npm 发布令牌
要使 NPM 发布工作流正常工作,需要在 GitHub 仓库中配置 NPM 令牌:
- 在 npm 网站上生成访问令牌 (https://www.npmjs.com/settings/[用户名]/tokens)
- 在 GitHub 仓库中,进入 “Settings” > “Secrets and variables” > “Actions”
- 点击 “New repository secret”
- 名称填写
NPM_TOKEN,值填写你的 npm 访问令牌 - 点击 “Add secret” 保存
Yuque MCP Server
Project Details
- HenryHaoson/Yuque-MCP-Server
- Last Updated: 4/22/2025
Recomended MCP Servers
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and...
This is just a proof-of-concept of MCP. As I see it, there is much that can be done...
A complete walkthrough on how to build an MCP server to serve a trained Random Forest model and...
AI Observability & Evaluation
small MCP server for orchestrating tasks across LLM instances
PDF to Markdown conversion tool
A MCP Server that will download any webpage as markdown in an instant. Download docs straight to your...
An MCP server that provides LLMs with efficient access to package documentation across multiple programming languages
MCP-NixOS - Model Context Protocol Server for NixOS resources





