mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:10:49 +00:00
test(docker): stabilize package update lanes
This commit is contained in:
@@ -41,6 +41,9 @@ git_root="/tmp/openclaw-git"
|
||||
mkdir -p "$git_root"
|
||||
# Build the fake git install from the packed package contents, not the checkout.
|
||||
tar -xzf "$package_tgz" -C "$git_root" --strip-components=1
|
||||
# The package-derived fixture can carry patchedDependencies whose targets are
|
||||
# absent from the trimmed tarball install; that should not block update preflight.
|
||||
printf "\nallow-unused-patches=true\n" >>"$git_root/.npmrc"
|
||||
(
|
||||
cd "$git_root"
|
||||
npm install --omit=optional --no-fund --no-audit >/tmp/openclaw-git-install.log 2>&1
|
||||
|
||||
Reference in New Issue
Block a user