Skip to content

Commit

Permalink
feat: added github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
burhanyilmaz committed Jan 7, 2024
1 parent 5f4ad2e commit e231a7a
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: WoMob Github Action
run-name: ${{ github.actor }} is testing out Github Actions 🚀
on: [push]
jobs:
Create-Upload:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repo
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 Packages
run: |
yarn install
- name: 🧪 Run format and lint
run: |
yarn format && yarn validate
- name: Build apk
run: |
yarn build:android:local
- name: 🥳 Upload APK File
uses: actions/upload-artifact@v3
with:
name: womob-apk
path: ${{ github.workspace }}/*.apk
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."

11 changes: 11 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@
},
"web": {
"favicon": "./assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "1801964c-49dc-4908-85e4-028e08bd285a"
}
},
"runtimeVersion": {
"policy": "appVersion"
},
"updates": {
"url": "https://u.expo.dev/1801964c-49dc-4908-85e4-028e08bd285a"
}
}
}
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"dependencies": {
"expo": "~49.0.15",
"expo-status-bar": "~1.6.0",
"expo-updates": "~0.18.19",
"nativewind": "^2.0.11",
"react": "18.2.0",
"react-native": "0.72.6"
Expand Down

0 comments on commit e231a7a

Please sign in to comment.