1
0
forked from baron/baron-sso

ci: add code check badges and coverage reports

This commit is contained in:
2026-05-29 12:05:43 +09:00
parent c489c7c38f
commit a830242947
164 changed files with 9059 additions and 2012 deletions

View File

@@ -8,7 +8,13 @@ import { fileURLToPath } from "node:url";
const sdkVersion = "^1.25.0";
const zodVersion = "^3.25.0";
const cacheRoot = resolveCacheRoot();
const sdkMarker = path.join(cacheRoot, "node_modules", "@modelcontextprotocol", "sdk", "package.json");
const sdkMarker = path.join(
cacheRoot,
"node_modules",
"@modelcontextprotocol",
"sdk",
"package.json",
);
if (!existsSync(sdkMarker)) {
mkdirSync(cacheRoot, { recursive: true });
@@ -65,6 +71,7 @@ function resolveCacheRoot() {
return process.env.MCP_ORY_HYDRA_CACHE_DIR;
}
const baseCache = process.env.XDG_CACHE_HOME ?? path.join(homedir(), ".cache");
const baseCache =
process.env.XDG_CACHE_HOME ?? path.join(homedir(), ".cache");
return path.join(baseCache, "mcp-ory-hydra");
}