Merge branch 'develop' #833
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: Documentation Validation | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| validate: | |
| name: Validate documentation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| cache: 'npm' | |
| cache-dependency-path: package-lock.json | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Validate docs | |
| run: node .harness/scripts/ci/01-validate-docs.mjs | |
| - name: Check bilingual parity | |
| run: node .harness/scripts/ci/04-check-bilingual-parity.mjs | |
| - name: Validate semantic tracking | |
| run: node .harness/scripts/ci/08-validate-tracking.mjs | |
| - name: Reconcile maturity evidence | |
| run: node .harness/scripts/ci/09-reconcile-maturity.mjs --check | |
| - name: Validate machine contracts | |
| run: node .harness/scripts/ci/10-validate-contract-conformance.mjs | |
| - name: Validate product documentation synchronization | |
| run: node .harness/scripts/ci/11-validate-product-docs.mjs | |
| - name: Check coverage dashboard is up to date | |
| run: node .harness/scripts/coverage-dashboard.mjs --check | |
| - name: Upload coverage report | |
| uses: actions/upload-artifact@v7 | |
| if: always() | |
| with: | |
| name: coverage-report | |
| path: COVERAGE_REPORT.md | |
| retention-days: 30 | |
| - name: Report bilingual coverage | |
| run: node .harness/scripts/bilingual-coverage.mjs |