2026-07-19 03:44:13 +09:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
|
|
|
|
|
2026-08-20 23:01:10 +09:00
|
|
|
if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
|
|
|
|
if ! git diff --quiet || ! git diff --cached --quiet || [[ -n "$(git ls-files --others --exclude-standard)" ]]; then
|
|
|
|
|
echo "check-v1 requires a clean checkout" >&2
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
2026-07-19 03:44:13 +09:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
unset NUTHATCH_APP_INTERACTIVE
|
2026-07-19 15:21:24 +09:00
|
|
|
unset NUTHATCH_STREAMING_LANE
|
|
|
|
|
unset NUTHATCH_STREAMING_FIRST_LANE_ONLY
|
|
|
|
|
unset NUTHATCH_IDEMPOTENCY_LANE
|
|
|
|
|
unset NUTHATCH_IDEMPOTENCY_FIRST_LANE_ONLY
|
|
|
|
|
unset NUTHATCH_RECOVERY_TARGET
|
|
|
|
|
unset NUTHATCH_PROTOCOL_TARGET
|
2026-07-19 03:44:13 +09:00
|
|
|
|
2026-08-20 23:01:10 +09:00
|
|
|
npm --prefix web ci
|
|
|
|
|
|
2026-07-19 03:44:13 +09:00
|
|
|
targets=(
|
|
|
|
|
test
|
|
|
|
|
check-dependencies
|
|
|
|
|
check-fixture-lib
|
|
|
|
|
check-kind-matrix
|
|
|
|
|
check-storage-foundation
|
|
|
|
|
check-auth
|
|
|
|
|
check-streaming
|
|
|
|
|
check-idempotency
|
|
|
|
|
check-recovery
|
|
|
|
|
check-protocol
|
|
|
|
|
check-product
|
2026-07-20 05:02:08 +09:00
|
|
|
check-browser
|
2026-07-19 03:44:13 +09:00
|
|
|
check-runtime
|
2026-07-19 15:21:24 +09:00
|
|
|
check-specs
|
2026-07-19 03:44:13 +09:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
for target in "${targets[@]}"; do
|
|
|
|
|
make "$target"
|
|
|
|
|
done
|