Skip to content

Commit

Permalink
chore: add config
Browse files Browse the repository at this point in the history
  • Loading branch information
bar61aros committed Nov 1, 2023
1 parent 6b18f6b commit 89493bf
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: update
on: push

jobs:
update:
name: EAS Update
runs-on: ubuntu-latest
steps:
- name: Check for EXPO_TOKEN
run: |
if [ -z "${{ secrets.EXPO_TOKEN }}" ]; then
echo "You must provide an EXPO_TOKEN secret linked to this project's Expo account in this repo's secrets. Learn more: https://docs.expo.dev/eas-update/github-actions"
exit 1
fi
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: yarn

- name: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}

- name: Install dependencies
run: yarn install

- name: Publish update
run: eas update --auto
11 changes: 9 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,23 @@
"**/*"
],
"ios": {
"supportsTablet": true
"supportsTablet": true,
"bundleIdentifier": "com.barbarosaffan.eastestingapp"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
}
},
"package": "com.barbarosaffan.eastestingapp"
},
"web": {
"favicon": "./assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "819a2eb1-c08a-4afa-832c-7fdb778576d6"
}
}
}
}
19 changes: 19 additions & 0 deletions eas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"cli": {
"version": ">= 5.4.0",
"promptToConfigurePushNotifications": false
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {}
},
"submit": {
"production": {}
}
}

0 comments on commit 89493bf

Please sign in to comment.