Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lint
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ set -eu

validate-links() {
echo "validate-links: RUN"
# If the support/dist directory does not exist, build it
if [ ! -d "support/dist" ]; then
echo "Building project before running linting scripts"
npm run build
fi

if npm exec -- node support/dist/validateLinks.js ; then
echo validate-links: PASS
else
Expand Down