release: v0.6.0 #25
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: Design Contracts | |
| on: | |
| push: | |
| branches: [main, dev, "feature/**"] | |
| paths: | |
| - "src/**" | |
| - "scripts/validate-design.ts" | |
| - "docs/DESIGN.md" | |
| pull_request: | |
| branches: [main, dev] | |
| paths: | |
| - "src/**" | |
| - "scripts/validate-design.ts" | |
| - "docs/DESIGN.md" | |
| jobs: | |
| validate: | |
| name: Validate Design Contracts | |
| if: ${{ false }} # Temporarily disabled while validator rules are being aligned with current CLI behavior. | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Run design contract validator | |
| run: bun run scripts/validate-design.ts |