Repository navigation
fix: reject impossible calendar dates across catalog checks #58
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 catalog | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "catalog/**" | |
| - "docs/**" | |
| - "site/**" | |
| - "README.md" | |
| - ".github/workflows/ci.yml" | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Test catalog checks | |
| run: node site/checks.test.mjs | |
| - name: Test site build modules | |
| run: node site/lib/lib.test.mjs | |
| - name: Validate catalog | |
| run: node site/validate.mjs | |
| - name: Build site and check pages | |
| run: node site/build.mjs |