Files
ewoooc/scripts/check_observability_visual_contract.sh
OoO b6e65733a7
All checks were successful
CD Pipeline / deploy (push) Successful in 59s
收斂觀測台手機字體與視覺契約
2026-05-13 18:47:14 +08:00

21 lines
634 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
BUNDLED_NODE="$HOME/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin/node"
BUNDLED_NODE_MODULES="$HOME/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/node_modules"
if [ -z "${NODE_BIN:-}" ] && [ -x "$BUNDLED_NODE" ]; then
NODE_BIN="$BUNDLED_NODE"
fi
if [ -z "${NODE_BIN:-}" ]; then
NODE_BIN="node"
fi
if [ -d "$BUNDLED_NODE_MODULES" ] && [ -z "${NODE_PATH:-}" ]; then
export NODE_PATH="$BUNDLED_NODE_MODULES"
fi
exec "$NODE_BIN" "$PROJECT_ROOT/scripts/check_observability_visual_contract.js" "$@"