Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/expo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Expo Build
on:
pull_request:
workflow_dispatch:

jobs:
build:
name: Install and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: yarn
registry-url: "https://registry.npmjs.org"
scope: "@knocklabs"
- name: Install Dependencies
run: yarn install
- name: Build packages
run: yarn build:packages
- name: Setup Expo and EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Build on EAS
run: cd examples/expo-example && eas build --platform android --non-interactive --no-wait
19 changes: 14 additions & 5 deletions examples/expo-example/app.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
{
"expo": {
"name": "@knocklabs/expo-example",
"slug": "@knocklabs/expo-example",
"name": "expo-example",
"slug": "expo-example",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "expoexample",
"userInterfaceStyle": "automatic",
"newArchEnabled": true,
"ios": {
"supportsTablet": true
"supportsTablet": true,
"bundleIdentifier": "com.knocklabs.expoexample"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/images/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"edgeToEdgeEnabled": true
"edgeToEdgeEnabled": true,
"package": "com.knocklabs.expoexample"
},
"web": {
"bundler": "metro",
Expand All @@ -38,6 +40,13 @@
"experiments": {
"typedRoutes": true,
"reactCanary": true
}
},
"extra": {
"router": {},
"eas": {
"projectId": "37459970-f809-421d-9fc0-26e3c96e3cc2"
}
},
"owner": "knocklabs"
}
}
21 changes: 21 additions & 0 deletions examples/expo-example/eas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"cli": {
"version": ">= 16.14.1",
"appVersionSource": "remote"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {
"autoIncrement": true
}
},
"submit": {
"production": {}
}
}
Loading