test: skip bootstrap in release validation onboarding

This commit is contained in:
Peter Steinberger
2026-04-27 17:01:46 +01:00
parent 1fd0802b88
commit 04b5dd097d
3 changed files with 73 additions and 42 deletions

View File

@@ -39,7 +39,11 @@ trap cleanup EXIT
echo "Installing mounted OpenClaw package into root-owned global npm..."
package_tgz="${OPENCLAW_CURRENT_PACKAGE_TGZ:?missing OPENCLAW_CURRENT_PACKAGE_TGZ}"
npm install -g "$package_tgz" --no-fund --no-audit >/tmp/openclaw-root-owned-install.log 2>&1
if ! npm install -g "$package_tgz" --no-fund --no-audit >/tmp/openclaw-root-owned-install.log 2>&1; then
echo "root-owned global npm install failed" >&2
cat /tmp/openclaw-root-owned-install.log >&2
exit 1
fi
root="$(package_root)"
test -d "$root/dist/extensions/$CHANNEL"