Bluesky app fork with some witchin' additions šŸ’«
0
fork

Configure Feed

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

Compile locale before build on CI, fix the google-services.json variable for android builds (#3001)

* compile intl before building, fix android json var

* update intl:build

authored by

Hailey and committed by
GitHub
6717f8f1 2a04546c

+9 -2
+5 -1
.github/workflows/build-submit-android.yml
··· 49 49 - name: āš™ļø Install dependencies 50 50 run: yarn install 51 51 52 + - name: šŸ”¤ Compile translations 53 + run: yarn intl:build 54 + 52 55 - name: āœļø Write environment variables 53 56 run: | 57 + export json='${{ secrets.GOOGLE_SERVICES_TOKEN }}' 54 58 echo "${{ secrets.ENV_TOKEN }}" > .env 55 - echo "${{ secrets.GOOGLE_SERVICES_TOKEN }}" > google-services.json 59 + echo "$json" > google-services.json 56 60 57 61 - name: šŸ—ļø EAS Build 58 62 run: yarn use-build-number eas build -p android --profile production --local --output build.aab --non-interactive
+3
.github/workflows/build-submit-ios.yml
··· 60 60 # change unless the yarn version changes as well. 61 61 key: ${{ runner.os }}-pods-${{ hashFiles('yarn.lock') }} 62 62 63 + - name: šŸ”¤ Compile translations 64 + run: yarn intl:build 65 + 63 66 - name: āœļø Write environment variables 64 67 run: | 65 68 echo "${{ secrets.ENV_TOKEN }}" > .env
+1 -1
package.json
··· 36 36 "perf:test:measure": "NODE_ENV=test flashlight test --bundleId xyz.blueskyweb.app --testCommand 'yarn perf:test' --duration 150000 --resultsFilePath .perf/results.json", 37 37 "perf:test:results": "NODE_ENV=test flashlight report .perf/results.json", 38 38 "perf:measure": "NODE_ENV=test flashlight measure", 39 - "intl:build": "yarn intl:check && yarn intl:compile", 39 + "intl:build": "yarn intl:extract && yarn intl:compile", 40 40 "intl:check": "yarn intl:extract && git diff-index -G'(^[^\\*# /])|(^#\\w)|(^\\s+[^\\*#/])' HEAD || (echo '\nāš ļø i18n detected un-extracted translations\n' && exit 1)", 41 41 "intl:extract": "lingui extract", 42 42 "intl:compile": "lingui compile",