docs: 知识库笔记推进 — 90%/10%价值分层 + Loop成熟度四问 + 焊死的门 + Conway/Coase #126
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: pr-check | |
| # PR 提交时跑版本号一致性 + 文档检查 + workspace 全量构建测试。 | |
| # 与本地 pre-push-check.sh 保持等价,确保推前和推后检查一致。 | |
| on: | |
| pull_request: | |
| branches: [main, master] | |
| push: | |
| branches: [main, master] | |
| jobs: | |
| version-and-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: check-version.sh | |
| run: bash tools/check-version.sh | |
| - name: check-docs.sh | |
| run: bash tools/check-docs.sh | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: '22' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install rollup native module (Linux) | |
| run: npm install --no-save @rollup/rollup-linux-x64-gnu | |
| - name: Build (workspace 拓扑序) | |
| run: npm run build | |
| - name: Test (workspace 全量) | |
| run: npm run test |