feat: configure eslint #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Expo IOS Build Test | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: 'macos-latest' | |
strategy: | |
matrix: | |
node: [18.x] | |
steps: | |
- name: π Setup repo | |
uses: actions/checkout@v2 | |
- name: π Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
- name: π Setup Expo and EAS | |
uses: expo/expo-github-action@v7 | |
with: | |
token: ${{ secrets.EXPO_TOKEN }} | |
expo-version: latest | |
eas-version: latest | |
- name: π¦ Install dependencies | |
run: yarn | |
- name: π©Ί Run Expo Doctor | |
run: npx expo-doctor | |
continue-on-error: true | |
- name: π Generate eas.json | |
run: | | |
echo '{ | |
"build": { | |
"development": { | |
"distribution": "internal", | |
} | |
} | |
}' > eas.json | |
- name: π Generate Google Service file | |
run: ./prepare-google-services.sh | |
- name: π· Build app | |
env: | |
GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }} | |
GOOGLE_SERVICES_PLIST_BASE64: ${{ secrets.GOOGLE_SERVICES_PLIST_BASE64 }} | |
GOOGLE_SERVICES_JSON: ${{ vars.GOOGLE_SERVICES_JSON }} | |
GOOGLE_SERVICES_PLIST: ${{ vars.GOOGLE_SERVICES_PLIST }} | |
run: | | |
eas build --local \ | |
--non-interactive \ | |
--output=./app-build \ | |
--platform=ios \ | |
--profile=development |