fix: 任务要求使用 CLI 但 CLI 被禁用,且缺少替代方案引导 #316
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: Compat Check | |
| on: | |
| pull_request: | |
| paths: | |
| - 'config/source/skills/**' | |
| - 'config/source/guideline/**' | |
| - 'config/source/editor-config/**' | |
| - 'scripts/build-compat-config.mjs' | |
| - 'scripts/diff-compat-config.mjs' | |
| - 'scripts/update-compat-baseline.mjs' | |
| - 'scripts/sync-config.mjs' | |
| - 'package.json' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'config/source/skills/**' | |
| - 'config/source/guideline/**' | |
| - 'config/source/editor-config/**' | |
| - 'scripts/build-compat-config.mjs' | |
| - 'scripts/diff-compat-config.mjs' | |
| - 'scripts/update-compat-baseline.mjs' | |
| - 'scripts/sync-config.mjs' | |
| - 'package.json' | |
| jobs: | |
| compat-diff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Verify compatibility contract and advisory text surface drift | |
| run: npm run check:compat-diff |