mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 05:43:41 +00:00
removing testing code and adding test to release pipeline just in case
This commit is contained in:
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@@ -90,6 +90,25 @@ jobs:
|
||||
npm run dist
|
||||
npm run test
|
||||
|
||||
- name: Testing locale lengths
|
||||
run: |
|
||||
errors=0
|
||||
echo "Testing locales extName lengths"
|
||||
echo "All must be 40 or less for Safari"
|
||||
echo "================================="
|
||||
for file in $(ls src/_locales/);
|
||||
do
|
||||
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: gulp
|
||||
run: gulp ci
|
||||
|
||||
|
||||
Reference in New Issue
Block a user