adding a kill command

This commit is contained in:
Joseph Flinn 2021-05-12 15:27:47 -07:00
parent c3690a28bd
commit 59eb876b06
1 changed files with 6 additions and 0 deletions

View File

@ -64,6 +64,7 @@ jobs:
- name: Testing locale lengths
run: |
errors=0
for file in $(ls src/_locales/);
do
echo "Testing locales extName lengths"
@ -72,9 +73,14 @@ jobs:
test_string=$(cat src/_locales/$file/messages.json | jq .extName.message | tr -d '"')
if [[ ${#test_string} -gt 40 ]]; then
echo $file: ${#test_string}
errors=1
fi
done
if [[ $errors -eq 1 ]]; then
exit 1
fi
- name: npm setup & test
run: |
npm install