Files
trezor-suite/ci/scripts/outdated.sh
2022-08-15 17:18:07 +02:00

16 lines
331 B
Bash
Executable File

#!/bin/bash
treshold=180
number=$(yarn outdated | wc -l)
echo outdated packages treshold $treshold
if [ "$number" -gt "$treshold" ]
then
echo number of outdated packages [$number] is over treshold [$treshold]. consider updating.
exit 1
fi
echo number of outdated packages [$number] is below treshold [$treshold]
exit 0