mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-05 22:41:40 +00:00
ci: guard historical npm lock checks (#114073)
This commit is contained in:
committed by
GitHub
parent
af26c7ed72
commit
e66809fa35
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@@ -2199,7 +2199,14 @@ jobs:
|
||||
pnpm check:import-cycles
|
||||
;;
|
||||
npm-lock)
|
||||
pnpm deps:npm-lock:check
|
||||
if has_package_script "deps:npm-lock:check"; then
|
||||
pnpm deps:npm-lock:check
|
||||
elif [[ "$HISTORICAL_TARGET" != "true" ]]; then
|
||||
echo "Current CI targets must provide the deps:npm-lock:check package script." >&2
|
||||
exit 1
|
||||
else
|
||||
echo "[skip] historical target predates the transient npm lock contract"
|
||||
fi
|
||||
;;
|
||||
bundled-channel-config-metadata)
|
||||
pnpm check:bundled-channel-config-metadata
|
||||
|
||||
Reference in New Issue
Block a user