Skip to content

Commit

Permalink
Merge pull request #11 from ReflectionsProjections/dev/alex/expo-work…
Browse files Browse the repository at this point in the history
…flow

Preview workflow on PR
  • Loading branch information
aletya authored May 23, 2024
2 parents d041561 + 175652f commit 4ea3851
Show file tree
Hide file tree
Showing 7 changed files with 161,301 additions and 7,236 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Create preview
on: [pull_request]
jobs:
preview:
name: Create preview
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.x"
cache: "yarn"
- uses: expo/expo-github-action@v8
with:
expo-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Install dependencies
run: yarn
- name: Install eas-cli
run: npm install -g eas-cli
- name: Create preview
uses: expo/expo-github-action/preview@v8
with:
command: eas update --auto --branch ${{ github.event.pull_request.head.ref }}
Loading

0 comments on commit 4ea3851

Please sign in to comment.