diff --git a/modules/lab/tools/runs.ts b/modules/lab/tools/runs.ts index b2404c8..3fe9bbe 100644 --- a/modules/lab/tools/runs.ts +++ b/modules/lab/tools/runs.ts @@ -100,6 +100,10 @@ node -e ${shellQuote( `const fs=require("fs");const f=${JSON.stringify(join(dir, "status.json"))};const s=JSON.parse(fs.readFileSync(f,"utf8"));s.commits=Object.fromEntries(fs.readFileSync(${JSON.stringify(join(dir, "commits.txt"))},"utf8").trim().split("\\n").map(l=>l.split(" ")));fs.writeFileSync(f,JSON.stringify(s,null,2))`, )} ${setState("building")} +# The @novox scope resolves from the mesh's own package registry on the forge, as the build machine +# resolves it; nothing else is asked of it. +printf '%s\n' ${shellQuote(`@novox:registry=${forge}/api/packages/novox/npm/`)} > ${shellQuote(join(dir, ".npmrc"))} +export NPM_CONFIG_USERCONFIG=${shellQuote(join(dir, ".npmrc"))} for repo in mesh-sdk mesh-tools mesh-lab; do (cd ${shellQuote(dir)}/$repo && npm ci --no-audit --no-fund --loglevel=error); done (cd ${shellQuote(dir)}/mesh-sdk && npm run build --if-present) (cd ${shellQuote(dir)}/mesh-tools && npm run build --if-present)