Skip to content

[NO QA] Update Configuring-Email-Notifications.md #46533

[NO QA] Update Configuring-Email-Notifications.md

[NO QA] Update Configuring-Email-Notifications.md #46533

name: Translation Dry Run
on:
pull_request:
types: [opened, synchronize]
paths-ignore: ['docs', 'help']
jobs:
# We always run dry-run the script to verify that it still works.
# The generateTranslations script runs with ts-node, which can't handle Flow
# (the specialized JS that React Native is written in).
# Therefore, adding an import in the wrong place could break the script, even if you didn't modify the script.
dryRun:
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
# v6
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Setup Node
uses: ./.github/actions/composite/setupNode
- name: Run generateTranslations dry run
run: npx ts-node ./scripts/generateTranslations.ts --dry-run
- name: Explain failure
if: failure()
run: |
echo '::error:: 😦 Something you did broke scripts/generateTranslations.ts. Most likely, this means you added an import that caused react-native to be directly or indirectly imported into the script.'
exit 1