mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix(ci): resolve trusted release loader
This commit is contained in:
@@ -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",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user