-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (39 loc) · 1.23 KB
/
run-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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: |
bun install
- name: 🧪 Run format and lint
run: |
bun format && bun validate
- name: Build apk
run: |
bun 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 }}."