Feature · Monorepos
Monorepo workspaces
Monorepo workspaces let one dashboard project track several sub-apps separately. A repository that ships a Vue component library and a Nuxt docs site has two codebases with two different scores; tag each push with a workspace path and the dashboard keeps a separate score series, findings list, and leaderboard row for each, all under one owner/repo slug. It works from the raw CLI and from geoql/doctor-action@v2.
Tag each push with --push-workspace
Run the matching CLI per sub-app and pass the sub-app path as the workspace label.
npx -y @geoql/vue-doctor packages/my-lib \
--push --api-key "$DOCTOR_API_KEY" \
--push-project "owner/repo" --push-workspace "packages/my-lib"
npx -y @geoql/nuxt-doctor apps/docs \
--push --api-key "$DOCTOR_API_KEY" \
--push-project "owner/repo" --push-workspace "apps/docs"Or run the action once per sub-app
geoql/doctor-action@v2 forwards its working-directory as the workspace label, so you do not pass the flag at all.
- uses: geoql/doctor-action@v2
with:
framework: vue
working-directory: packages/my-lib
api-key: ${{ secrets.DOCTOR_API_KEY }}
- uses: geoql/doctor-action@v2
with:
framework: nuxt
working-directory: apps/docs
api-key: ${{ secrets.DOCTOR_API_KEY }}Why untagged pushes go wrong
Without a workspace label every sub-app shares one series, and runs from the same commit collapse to the newest one, so one app silently replaces the other. Note that --push-project is the dashboard slug and --project is a different flag (the workspace-aggregation filter for auditing named packages).