-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (41 loc) · 1.3 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
40
41
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@v4
- name: 🏗 Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.x'
- 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: 🧪 Run test
run: |
yarn test
# - 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 }}."