Fix Windows smoke path resolution
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.1.23 - 2026-03-10
|
||||||
|
### Fixed
|
||||||
|
- Fixed the Windows desktop managed-daemon smoke test to resolve repo paths correctly on GitHub Actions runners.
|
||||||
|
|
||||||
## 0.1.22 - 2026-03-10
|
## 0.1.22 - 2026-03-10
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fixed the Windows desktop release runtime builder to package managed-runtime workspaces without relying on a fragile `npm pack` shell invocation in GitHub Actions.
|
- Fixed the Windows desktop release runtime builder to package managed-runtime workspaces without relying on a fragile `npm pack` shell invocation in GitHub Actions.
|
||||||
|
|||||||
@@ -5,12 +5,13 @@ import fs from "node:fs/promises";
|
|||||||
import net from "node:net";
|
import net from "node:net";
|
||||||
import os from "node:os";
|
import os from "node:os";
|
||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
|
import { fileURLToPath } from "node:url";
|
||||||
import { promisify } from "node:util";
|
import { promisify } from "node:util";
|
||||||
import WebSocket from "ws";
|
import WebSocket from "ws";
|
||||||
import { createClientChannel } from "@getpaseo/relay/e2ee";
|
import { createClientChannel } from "@getpaseo/relay/e2ee";
|
||||||
|
|
||||||
const execFileAsync = promisify(execFile);
|
const execFileAsync = promisify(execFile);
|
||||||
const repoRoot = path.resolve(new URL("../../..", import.meta.url).pathname);
|
const repoRoot = fileURLToPath(new URL("../../..", import.meta.url));
|
||||||
const desktopRoot = path.join(repoRoot, "packages", "desktop");
|
const desktopRoot = path.join(repoRoot, "packages", "desktop");
|
||||||
const relayRoot = path.join(repoRoot, "packages", "relay");
|
const relayRoot = path.join(repoRoot, "packages", "relay");
|
||||||
const desktopPackageJson = JSON.parse(
|
const desktopPackageJson = JSON.parse(
|
||||||
|
|||||||
Reference in New Issue
Block a user