#!/usr/bin/env bash
# Run from an installed origin/main checkout, with the scenario copied to scripts/scenarios.
set -euo pipefail
fixture_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
export T3CODE_DEV_SEED=0
export GH_TOKEN=scenario-token
export NODE_OPTIONS="--import=$fixture_dir/github-fixture.mjs"
export T3_SCENARIO_INHERIT_ENV='T3CODE_DEV_SEED,GH_TOKEN,NODE_OPTIONS'
vp run scenarios:prove scripts/scenarios/review-summary-before-side.e2e.ts \
  --base e5d757f51b342a5ebc50312790e39a1baca61194 \
  --head f88819b49823d3ec29bdcbee6db5d80dab2652bb \
  --upload-command 'ghdrop upload'
