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 mcp server to manage github project's functionality
MCP server for Docker
Read your Apple Notes with Claude Model Context Protocol
Unified Cognitive Processing Framework - MCP server for Cline and more
An open source implementation of the Claude built-in text editor tool
OpenAPI Schema Model Context Protocol Server
Add Obsidian integrations like semantic search and custom Templater prompts to Claude or any MCP client.
MCP to connect your LLM with Spotify.
A Model Context Protocol server wrapping the official Notion SDK
An intelligent MCP server that serves as a guardian of development knowledge, providing Cline assistants with curated access...
MCP server(s) for Aipolabs ACI.dev