ReviewOS

also looking at this

stacks/commshq

Add BunPress guide and pre-E2E quality gates

#6
Merged glennmichael123 wants to merge docs/bunpress-product-guide into main
318 files +2174 -70006
.github/workflows/ci.ymlmodified+45-0
Changes to .github/workflows/ci.yml
@@ -119,3 +119,48 @@ jobs:
119119
120120 - name: Test Suite
121121 run: bun run test
122
123 build:
124 if: github.event_name == 'pull_request'
125 runs-on: ubuntu-latest
126
127 steps:
128 - name: Checkout Code
129 uses: actions/checkout@v6
130
131 - name: Setup Pantry
132 uses: pantry-pm/pantry/packages/action@v0.11.28
133 with:
134 install: 'false'
135
136 - name: Use cached node_modules
137 uses: actions/cache@v5
138 with:
139 path: node_modules
140 key: node-modules-${{ hashFiles('**/bun.lock') }}
141 restore-keys: |
142 node-modules-
143
144 - name: Install Dependencies
145 run: bun install
146
147 - name: Build application
148 run: bun run build
149
150 - name: Build documentation
151 run: bun buddy build docs
152
153 - name: Validate documentation
154 run: bun run docs:validate
155
156 - name: Validate UI accessibility
157 run: bun run ui:validate
158
159 - name: Validate responsive visual contracts
160 run: bun run visual:validate
161
162 - name: Validate production release artifact
163 run: bun run release:validate
164
165 - name: Verify generated files are current
166 run: git diff --exit-code