fix(FN-1537): stabilize CI workflows and fix version tests

- Update GitHub Actions workflows to use Node.js 24 (actions/setup-node@v5)
- Add private packages to .changeset/config.json ignore array
- Fix version string tests to read dynamically from package.json
- Add FN-1537 documentation to .fusion/memory.md
This commit is contained in:
gsxdsm
2026-04-10 09:42:51 -07:00
parent 92b67d8660
commit 1c4573ca92
10 changed files with 91 additions and 16 deletions

View File

@@ -34,7 +34,12 @@ describe("getAppVersion", () => {
const version1 = getAppVersion();
const version2 = getAppVersion();
expect(version1).toBe(version2);
expect(version1).toBe("0.1.0");
// Verify cached version matches the actual package version
const testFileDir = dirname(fileURLToPath(import.meta.url));
const coreDir = join(testFileDir, "..");
const pkgPath = join(coreDir, "package.json");
const pkg = JSON.parse(readFileSync(pkgPath, "utf-8"));
expect(version1).toBe(pkg.version);
});
});