Files
iNaturalistReactNative/scripts/reassure-tests.sh
2023-11-09 17:16:09 -05:00

16 lines
304 B
Bash
Executable File

set -e
BASELINE_BRANCH=main
# Required for `git switch` on CI
git fetch origin
# Gather baseline perf measurements
git switch "$BASELINE_BRANCH"
npm install --force
npx reassure --baseline
# Gather current perf measurements & compare results
git switch --detach -
npm install --force
npm run reassure