-
Notifications
You must be signed in to change notification settings - Fork 0
65 lines (50 loc) · 1.68 KB
/
Copy pathdocs.yml
File metadata and controls
65 lines (50 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Documentation Validation
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
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