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