docs(site): clarify current HawkinsOperations wording #152
Workflow file for this run
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: Governance Gate | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| required-files: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check Required Governance Files | |
| shell: pwsh | |
| run: | | |
| $required = @( | |
| "README.md", | |
| "SCOPE.md", | |
| "GOVERNANCE.md", | |
| "STATUS.md", | |
| "evidence/EVIDENCE_LEDGER_SCHEMA.json", | |
| "evidence/evidence-ledger.json" | |
| ) | |
| $missing = @() | |
| foreach ($f in $required) { | |
| if (-not (Test-Path -LiteralPath $f)) { $missing += $f } | |
| } | |
| if ($missing.Count -gt 0) { | |
| Write-Error ("Missing required files: " + ($missing -join ", ")) | |
| exit 1 | |
| } | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Check site contract | |
| run: npm run check:site | |
| - name: Build static site | |
| run: npm run build |