Skip to content

refactor: move to expo #443

refactor: move to expo

refactor: move to expo #443

# Runs CI tasks on pull requests and pushes
name: Continuous Integration
on:
workflow_dispatch:
pull_request:
push:
branches:
- integration
jobs:
checks:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
command: ['lint', 'test -- --ci --forceExit', 'types']
steps:
- uses: actions/checkout@v2
- uses: jdx/mise-action@v2
- run: npm ci
- run: npm run ${{ matrix.command }}
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
platform: ios
- os: ubuntu-latest
platform: android
steps:
- uses: actions/checkout@v2
- uses: Homebrew/actions/setup-homebrew@master
- uses: jdx/mise-action@v2
- run: brew bundle
- uses: actions/cache@v2
with:
path: ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- run: mkdir node_modules
- run: npm ci
- run: npm run build:${{ matrix.platform }}