summaryrefslogtreecommitdiff
path: root/format-code.sh
blob: b490dd2a1ee502f5c2fd142e7ad6bf7e259cee05 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Run GUI Linting and Formatting as part of the CI Build process
#
# This is a short term solution. The long term solution to will be to
# add much of this to the build script.
#

set -e

npm ci
npm run lint
git --no-pager diff --exit-code