mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
adding a kill command
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user