diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml new file mode 100644 index 0000000..6e15c67 --- /dev/null +++ b/.github/workflows/run-test.yml @@ -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 }}." + diff --git a/app.json b/app.json index b6c14de..4f77b13 100644 --- a/app.json +++ b/app.json @@ -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" } } } diff --git a/bun.lockb b/bun.lockb index aad7bc4..304a36d 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 2ff20de..8145fc2 100644 --- a/package.json +++ b/package.json @@ -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"