Add CI/CD automation and fix conformance data quality issues #11
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: Validate Conformance Report | |
| on: | |
| pull_request: | |
| paths: | |
| - 'data/conformance.json' | |
| - 'scripts/generate-conformance-report.ts' | |
| - 'CONFORMANCE.md' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'data/conformance.json' | |
| - 'scripts/generate-conformance-report.ts' | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup Deno | |
| uses: denoland/setup-deno@v1 | |
| with: | |
| deno-version: v2.x | |
| - name: Generate conformance report | |
| run: deno task generate | |
| - name: Check if CONFORMANCE.md is up to date | |
| run: | | |
| if ! git diff --exit-code CONFORMANCE.md; then | |
| echo "Error: CONFORMANCE.md is not up to date with conformance.json" | |
| echo "Please run 'deno task generate' and commit the changes" | |
| exit 1 | |
| fi |