fix(ci): Update CI workflows, dependency paths, and project configuration

This commit is contained in:
2025-05-26 08:53:25 +00:00
parent f807271aa1
commit 9c2dc18041
17 changed files with 9290 additions and 11333 deletions

View File

@@ -8,7 +8,7 @@ export class Detector {
if (parsedUrl.hostname === 'localhost') {
console.log(`detector target is localhost on port ${parsedUrl.port}`);
const portUnused = await this.smartnetworkInstance.isLocalPortUnused(
parseInt(parsedUrl.port, 10)
parseInt(parsedUrl.port, 10),
);
const portAvailable = !portUnused;
return portAvailable;
@@ -16,7 +16,7 @@ export class Detector {
console.log(`detector target is remote domain ${parsedUrl.host} on port ${parsedUrl.port}`);
const postAvailable = await this.smartnetworkInstance.isRemotePortAvailable(
parsedUrl.host,
parseInt(parsedUrl.port, 10)
parseInt(parsedUrl.port, 10),
);
return postAvailable;
}