🚀 Promote develop → main #443
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: CI | |
| on: | |
| push: | |
| branches: [develop, main] | |
| pull_request: | |
| branches: [develop, main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - run: npm ci | |
| - name: Check generated client packages are up to date | |
| run: npm run generate:clients:check | |
| # parity-matrix.json is a cross-repo contract (Max-Health-Inc/fhir-igs | |
| # resolves it at a release tag to decide which IGs to publish), so drift | |
| # has to fail here rather than surface as a wrong publish later. | |
| - name: Check parity matrix artifact is up to date | |
| run: npm run generate:parity-matrix:check | |
| - name: Type-check and run unit tests | |
| run: npm test | |
| # Informational only. IG pins are deliberately manual: bumping one shifts | |
| # the parity percentages for reasons unrelated to this generator, and the | |
| # curated exclusions are keyed on generated class names an IG major renames. | |
| # This step exists so a stale pin is visible in the run summary instead of | |
| # being discovered months later — it must never fail the build. | |
| - name: Report newer IG releases | |
| run: npm run check:ig-versions | |
| continue-on-error: true |