Files
vibe-coding-cn/.github/extensions/github-actions-ci.yml
T
tradecatlabsandGitHub 6b7e5a8fc1 refactor: toolbox - 清除workflows残留并退役自动流程 (#152)
* refactor: toolbox - 收口Context Skills Extensions三域资源

* fix: toolbox - 重定向文集中的嵌套标签链接

* fix: toolbox - 保全被ignore遮蔽的原跟踪事实文件

* refactor: toolbox - 退役workflows残留并平铺原定义
2026-10-18 03:16:40 +08:00

49 lines
1.5 KiB
YAML

# .github/workflows/ci.yml
# 持续集成工作流:用于代码风格检查和链接检查
name: CI
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
markdown-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
submodules: recursive
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
- name: Run markdownlint
run: make lint
- name: Check local markdown links and anchors
run: python3 .github/extensions/check-local-links.py
- name: Check markdown details and summaries
run: python3 .github/extensions/check-markdown-details.py
- name: Check docs README structure
run: python3 .github/extensions/check-doc-structure.py
- name: Check required directory README and AGENTS files
run: python3 .github/extensions/check-directory-docs.py
- name: Check metadata paths and anchors
run: python3 .github/extensions/check-metadata.py
- name: Check llms and AI citation paths and anchors
run: python3 .github/extensions/check-ai-citation.py
link-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Link Checker
uses: lycheeverse/lychee-action@v2.8.0
with:
args: --verbose --no-progress --config .lychee.toml './**/*.md' './.github/context/**/*.md' './.github/skills/**/*.md' './.github/extensions/**/*.md'