Files
CommandTabFree/scripts/pre_build_checks.sh
2024-11-02 18:18:57 +01:00

13 lines
250 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
npm ci
if [ "$TRAVIS" = true ] ; then
npx commitlint-travis
npx commitlint
else
npx commitlint --from "$GITHUB_EVENT_BEFORE" --to "$GITHUB_EVENT_AFTER" --verbose
fi
scripts/ensure_generated_files_are_up_to_date.sh