Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: test eas update previews #95

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
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
5 changes: 5 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
uses: ./.github/actions/setup-monorepo
with:
expo-token: ${{ secrets.EXPO_TOKEN }}
node-version: 16.20.0

- name: 👷 Build packages
run: pnpm run -w build:mobile
Expand All @@ -30,6 +31,10 @@ jobs:
run: |
eas init --id d202a56f-0162-450d-af3b-a2d2e0678594 --force --non-interactive
echo $(jq '.expo.runtimeVersion.policy = "sdkVersion"' app.json) > app.json

- name: 🐛 Debug app manifest
working-directory: apps/mobile
run: cat app.json

- name: 🚀 Create preview
uses: expo/expo-github-action/preview@v8
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function App() {
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
backgroundColor: '#f00',
alignItems: 'center',
justifyContent: 'center',
},
Expand Down