#!/usr/bin/env bash set -euo pipefail repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" bash -n "$repo_root/scripts/p11-manual-acceptance.sh" "$repo_root/scripts/test-p11-manual-acceptance.sh" node --check "$repo_root/backend/scripts/p11-manual-acceptance.mjs" node --check "$repo_root/backend/scripts/p11-render-snapshot.mjs" node --check "$repo_root/backend/scripts/p11-manual-acceptance.test.mjs" node --check "$repo_root/backend/scripts/p11-render-snapshot.test.mjs" npm --prefix "$repo_root/backend" run build npm --prefix "$repo_root/frontend" run build node --test "$repo_root/backend/scripts/p11-manual-acceptance.test.mjs" node --test "$repo_root/backend/scripts/p11-render-snapshot.test.mjs"