ci: expand shared package validation and test coverage
- 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:
1 parent
937f51b4fb
commit
0ff94f9b10
107 files changed
+10124
-410
No files matched your search
@@ -12,13 +12,13 @@
|
||||
*/
|
||||
import { spawnSync } from 'node:child_process';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { dirname, resolve, join } from 'node:path';
|
||||
import { dirname, resolve } from 'node:path';
|
||||
import { existsSync } from 'node:fs';
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const root = resolve(__dirname, '..', '..');
|
||||
|
||||
const packages = [{ name: 'webui', path: 'webui' }];
|
||||
const packages = [{ name: 'web-ui', path: 'packages/web-ui' }];
|
||||
|
||||
function resolveEslintInvocation({ pkgDir }) {
|
||||
const pkgEslintJs = resolve(pkgDir, 'node_modules', 'eslint', 'bin', 'eslint.js');
|
||||
@@ -65,7 +65,7 @@ for (const pkg of packages) {
|
||||
continue;
|
||||
}
|
||||
|
||||
let parsed = [];
|
||||
let parsed;
|
||||
try {
|
||||
parsed = JSON.parse(result.stdout || '[]');
|
||||
} catch (e) {
|
||||
|
||||
Reference in new issue
Block a user