Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/test_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ jobs:
upload_sources: true
upload_translations: false
download_translations: true
export_only_approved: true
skip_untranslated_files: true
push_translations: false
create_pull_request: false
Expand All @@ -95,17 +94,12 @@ jobs:
upload_sources: false
upload_translations: false
download_translations: true
export_only_approved: true
skip_untranslated_files: false
push_translations: false
create_pull_request: false
token: ${{secrets.WEB_CROWDIN_TOKEN}}
config: ${{env.CROWDIN_CONFIG_PATH}}

- name: Validate downloaded translations
if: (github.event_name == 'pull_request' && (github.actor != 'dependabot[bot]' && github.actor != 'otto-the-bot')) || env.BRANCH_NAME == 'master'
run: yarn translate:validate

- name: Build
if: env.BRANCH_NAME == 'master'
# We need to execute `yarn translate:process` with sudo in order to delete and modify files
Expand Down
96 changes: 0 additions & 96 deletions bin/validate-translations.js

This file was deleted.

72 changes: 0 additions & 72 deletions bin/validate-translations.test.js

This file was deleted.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,16 @@
"name": "wire-emails",
"private": true,
"scripts": {
"build": "yarn translate:validate && yarn translate:process && gulp build --production && yarn text",
"build": "yarn translate:process && gulp build --production && yarn text",
"text": "node bin/generate-text-emails.js",
"deploy": "npm version patch",
"postversion": "git push && git push --tags",
"prettier": "prettier --ignore-path .gitignore --write \"**/*.{js,scss,md,yml,yaml}\"",
"start": "gulp",
"test": "yarn test:unit && yarn build",
"test": "yarn build",
"translate": "yarn translate:upload && yarn translate:download",
"translate:download": "crowdin download && yarn translate:validate && yarn translate:process",
"translate:download": "crowdin download && yarn translate:process",
"translate:process": "node bin/translate.js",
"translate:validate": "node bin/validate-translations.js",
"test:unit": "node --test bin/validate-translations.test.js",
"translate:upload": "crowdin upload sources",
"prepare": "husky install"
},
Expand Down
Loading