fix(ci): resolve trusted release loader

This commit is contained in:
Peter Steinberger
2026-07-17 09:21:07 +01:00
parent 9b238a7927
commit a9ac13b2ef
2 changed files with 6 additions and 0 deletions
@@ -619,6 +619,9 @@ jobs:
--config.side-effects-cache=true
)
pnpm "${install_args[@]}" || pnpm "${install_args[@]}"
# Node resolves --import tsx from the process cwd. Point that root at
# the trusted harness install instead of the frozen target checkout.
ln -s .release-harness/node_modules node_modules
- name: Resolve ClawHub release plan
id: clawhub_plan
@@ -3952,6 +3952,9 @@ describe("package artifact reuse", () => {
expect(releaseNodeSetup.with?.["install-deps"]).toBe("false");
expect(trustedReleaseToolingInstall.run).toContain("--dir .release-harness");
expect(trustedReleaseToolingInstall.run).toContain("--frozen-lockfile");
expect(trustedReleaseToolingInstall.run).toContain(
"ln -s .release-harness/node_modules node_modules",
);
expect(fastPretagScript).toContain(
"node --import tsx scripts/plugin-release-pretag-pack-check.ts",
);