mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
adding a kill command
This commit is contained in:
parent
c3690a28bd
commit
59eb876b06
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
|
||||
|
Loading…
Reference in New Issue
Block a user