chore: remove npm artifacts (pako was only needed for one-time link g… #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: Documentation Validation | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
| permissions: | ||
| contents: read | ||
| jobs: | ||
| validate: | ||
| name: Validate documentation | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "20" | ||
| - name: Validate docs | ||
| run: node .harness/scripts/validate-docs.mjs | ||
| - name: Check bilingual parity | ||
| run: node .harness/scripts/check-bilingual-parity.mjs | ||
| - name: Validate root cleanliness | ||
| run: node .harness/scripts/validate-root-cleanliness.mjs | ||
| - name: Check orphan bilingual files | ||
| run: node .harness/scripts/check-orphan-bilingual.mjs 2>/dev/null || echo "Skipped: script not available" | ||
| - name: Generate coverage dashboard | ||
| run: node .harness/scripts/coverage-dashboard.mjs | ||
| - name: Upload coverage report | ||
| uses: actions/upload-artifact@v4 | ||
| if: always() | ||
| with: | ||
| name: coverage-report | ||
| path: COVERAGE_REPORT.md | ||
| retention-days: 30 | ||
| - name: Report bilingual coverage | ||
| run: node .harness/scripts/bilingual-coverage.mjs | ||