Skip to content

Commit

Permalink
Add expo doctor check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzalezg9 committed Jun 10, 2024
1 parent e101353 commit 59e35cc
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions .github/workflows/pull_request_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,34 @@ name: PR checks
on:
pull_request:
branches:
- master
- development

jobs:
pr_checks:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: yarn install
env:
CI: true
- name: Checkout code
uses: actions/checkout@v2

- name: Run Typescript
run: yarn tsc
env:
CI: true
- name: Install dependencies
run: yarn install
env:
CI: true

# Fetch master branch and run changing test cases
- name: Run Unit tests
run: yarn test:ci
env:
CI: true
- name: Run Typescript
run: yarn tsc
env:
CI: true

# Fetch development branch and run changing test cases
- name: Run Unit tests
run: yarn test:ci
env:
CI: true

# Check expo packages incompatibilities
- name: Run Expo doctor
run: npx -y expo-doctor
env:
CI: true

0 comments on commit 59e35cc

Please sign in to comment.