Skip to content

Commit

Permalink
Added auto build on push workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0is1 committed Sep 30, 2024
1 parent af7ed5e commit 2800118
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/eas-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
branches:
- main
jobs:
build:
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 dependencies
run: yarn install

- name: πŸš€ Build app
run: eas build --profile preview --platform android --non-interactive

0 comments on commit 2800118

Please sign in to comment.