-
Notifications
You must be signed in to change notification settings - Fork 9
35 lines (28 loc) · 764 Bytes
/
main.yml
File metadata and controls
35 lines (28 loc) · 764 Bytes
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
# Commit to `main` branch → Publish to Expo channel “staging”
name: main → Expo staging
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repository
uses: actions/checkout@v3
- name: 🏗 Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: yarn
- name: 🏗 Setup Expo
uses: expo/expo-github-action@v8
with:
expo-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: 📦 Install dependencies
run: yarn install
- name: 🚀 Publish app to Expo/EAS
uses: expo/expo-github-action/preview@v8
with:
command: eas update --auto