ReviewOS

also looking at this

loghqorg/loghq

Add BunPress guide and pre-E2E quality gates

#4
Merged glennmichael123 wants to merge docs/bunpress-product-guide into main
246 files +1744 -64381
.github/workflows/deploy.ymlmodified+7-3
Changes to .github/workflows/deploy.yml
@@ -34,9 +34,6 @@ jobs:
3434 # promoted, and it costs about a minute. Without it a promotion carrying a
3535 # broken commit deploys, and nothing ever says so.
3636 #
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.
4037 gate:
4138 runs-on: ubuntu-latest
4239 steps:
@@ -55,6 +52,10 @@ jobs:
5552 run: bunx --bun tsc --noEmit
5653 - name: Test
5754 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
5859
5960 deploy:
6061 needs: gate
@@ -327,3 +328,6 @@ jobs:
327328 || { echo "::error::ingest did not reject a bogus key with 'unknown project'"; exit 1; }
328329
329330 echo "== all deploy verifications passed =="
331
332 - name: Verify public metadata
333 run: bun run deployment:smoke