添加技术报告页面组件及相关样式,更新架构页面以使用新组件 #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: docs-ci | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - "codex/**" | |
| jobs: | |
| markdown: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: DavidAnson/markdownlint-cli2-action@v18 | |
| with: | |
| globs: | | |
| README.md | |
| docs/**/*.md | |
| benchmark_reports/**/*.md | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| cache-dependency-path: docs/web/package-lock.json | |
| - name: Build docs web | |
| working-directory: docs/web | |
| run: | | |
| npm ci | |
| npm run build |