v3.0.1: commit dist/ to git, revert literal-union schema refactor #16
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| schema-validates-data: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - run: bun install --no-save | |
| - name: Typecheck | |
| run: bun run typecheck | |
| - name: Typecheck examples | |
| run: bun run typecheck:examples | |
| - name: TS source validates against schema | |
| run: bun run validate | |
| - name: Tests | |
| run: bun test | |
| - name: JSON artefact + JSON Schema match TS source | |
| run: bun run check:json-in-sync |