Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add checks for invalid syntax post-i18n builds (#7935)

authored by

Eric Bailey and committed by
GitHub
dcc8b351 cb54c983

+15 -5
+4 -1
.github/workflows/build-submit-android.yml
··· 56 56 run: yarn install 57 57 58 58 - name: 🔤 Compile translations 59 - run: yarn intl:build 59 + run: yarn intl:build 2>&1 | tee i18n.log 60 + 61 + - name: Check for i18n compilation errors 62 + run: if grep -q "invalid syntax" "i18n.log"; then echo "\n\nFound compilation errors!\n\n" && exit 1; else echo "\n\nNo compilation errors!\n\n"; fi 60 63 61 64 - name: ✏️ Write environment variables 62 65 run: |
+4 -1
.github/workflows/build-submit-ios.yml
··· 69 69 key: ${{ runner.os }}-pods-${{ hashFiles('yarn.lock') }} 70 70 71 71 - name: 🔤 Compile translations 72 - run: yarn intl:build 72 + run: yarn intl:build 2>&1 | tee i18n.log 73 + 74 + - name: Check for i18n compilation errors 75 + run: if grep -q "invalid syntax" "i18n.log"; then echo "\n\nFound compilation errors!\n\n" && exit 1; else echo "\n\nNo compilation errors!\n\n"; fi 73 76 74 77 - name: ✏️ Write environment variables 75 78 run: |
+5 -2
.github/workflows/bundle-deploy-eas-update.yml
··· 75 75 - name: Prettier check 76 76 run: yarn prettier --check . 77 77 78 - - name: Check & compile i18n 79 - run: yarn intl:build 78 + - name: 🔤 Compile translations 79 + run: yarn intl:build 2>&1 | tee i18n.log 80 + 81 + - name: Check for i18n compilation errors 82 + run: if grep -q "invalid syntax" "i18n.log"; then echo "\n\nFound compilation errors!\n\n" && exit 1; else echo "\n\nNo compilation errors!\n\n"; fi 80 83 81 84 - name: Type check 82 85 run: yarn typecheck
+2 -1
Dockerfile
··· 38 38 echo "EXPO_PUBLIC_BUNDLE_DATE=$(date -u +"%y%m%d%H")" >> .env && \ 39 39 npm install --global yarn && \ 40 40 yarn && \ 41 - yarn intl:build && \ 41 + yarn intl:build 2>&1 | tee i18n.log && \ 42 + if grep -q "invalid syntax" "i18n.log"; then echo "\n\nFound compilation errors!\n\n" && exit 1; else echo "\n\nNo compile errors!\n\n"; fi && \ 42 43 EXPO_PUBLIC_BUNDLE_IDENTIFIER=$EXPO_PUBLIC_BUNDLE_IDENTIFIER EXPO_PUBLIC_BUNDLE_DATE=$() yarn build-web 43 44 44 45 # DEBUG