test(e2e): surface update channel fixture install logs

This commit is contained in:
Vincent Koc
2026-05-02 19:20:48 -07:00
parent 7886b62c20
commit 9895236ebf

View File

@@ -55,7 +55,10 @@ tar -xzf "$package_tgz" -C "$git_root" --strip-components=1
node scripts/e2e/lib/update-channel-switch/assertions.mjs prepare-git-fixture "$git_root"
(
cd "$git_root"
npm install --omit=optional --no-fund --no-audit >/tmp/openclaw-git-install.log 2>&1
if ! npm install --omit=optional --no-fund --no-audit >/tmp/openclaw-git-install.log 2>&1; then
cat /tmp/openclaw-git-install.log >&2 || true
exit 1
fi
)
node scripts/e2e/lib/update-channel-switch/assertions.mjs write-control-ui "$git_root"