also looking at this
Add BunPress guide and pre-E2E quality gates
#4
246 files
+1744
-64381
| @@ -34,9 +34,6 @@ jobs: | ||
| 34 | 34 | # promoted, and it costs about a minute. Without it a promotion carrying a |
| 35 | 35 | # broken commit deploys, and nothing ever says so. |
| 36 | 36 | # |
| 37 | # Deliberately not lint or build: neither changes what the box serves. This | |
| 38 | # gate is about correctness, and the "does it actually serve" half is asserted | |
| 39 | # against the live site at the end of the deploy job. | |
| 40 | 37 | gate: |
| 41 | 38 | runs-on: ubuntu-latest |
| 42 | 39 | steps: |
| @@ -55,6 +52,10 @@ jobs: | ||
| 55 | 52 | run: bunx --bun tsc --noEmit |
| 56 | 53 | - name: Test |
| 57 | 54 | run: bun run test |
| 55 | - name: Build the production artifact | |
| 56 | run: bun run build | |
| 57 | - name: Validate the production artifact | |
| 58 | run: bun run release:validate | |
| 58 | 59 | |
| 59 | 60 | deploy: |
| 60 | 61 | needs: gate |
| @@ -327,3 +328,6 @@ jobs: | ||
| 327 | 328 | || { echo "::error::ingest did not reject a bogus key with 'unknown project'"; exit 1; } |
| 328 | 329 | |
| 329 | 330 | echo "== all deploy verifications passed ==" |
| 331 | ||
| 332 | - name: Verify public metadata | |
| 333 | run: bun run deployment:smoke | |