ci: expand shared package validation and test coverage
Lint / Lint (push) Successful in 32s
Docker / Docker Build & Push (push) Failing after 2m22s
Tests / Go backend (push) Failing after 1m2s
Tests / Dashboard checks (push) Failing after 35s

- Add lint, formatting, vet, and publish workflow checks
- Run Go database tests with PostgreSQL and add Java tests
- Make consumer sync opt-in; update docs and Go dependency
This commit is contained in:
Gabriel20xx committed 2026-10-19 21:46:52 +00:00
1 parent 937f51b4fb
commit 0ff94f9b10
107 files changed
+10124 -410

No files matched your search

+5 -7
View File
@@ -100,13 +100,11 @@ async function updatePackageJson(packageJsonPath) {
return { changed, changes };
}
// this repo has no root package.json / npm workspaces (unlike the monorepo this was extracted
// from), so there's no "workspaces" array to discover packages from. webui/ is the only local npm
// package whose dependency versions this repo owns and should bump directly. shared/package.json
// is intentionally excluded: it's a vendored, byte-for-byte copy synced in from the separate
// shared repo (see scripts/sync-shared.mjs) and any local edit to it would just be overwritten by
// the next sync — dependency bumps for shared/ belong upstream in that repo instead.
const LOCAL_PACKAGE_DIRS = ['webui'];
// The root package.json declares npm workspaces (packages/*). The local packages whose dependency
// versions this repo owns and bumps directly are listed here. Vendored copies of this library in
// other repositories are not listed: any local edit to them would be overwritten by the next sync,
// so bumps for them belong upstream.
const LOCAL_PACKAGE_DIRS = ['packages/web-ui', 'packages/node-backend'];
async function main() {
const packageJsonPaths = LOCAL_PACKAGE_DIRS.map(dir => path.join(repoRoot, dir, 'package.json'));