refactor: move to expo #453
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- integration | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: true | |
strategy: | |
fail-fast: false | |
matrix: | |
command: ['lint', 'test -- --ci --forceExit', 'types'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jdx/mise-action@v2 | |
- uses: ./.github/actions/cache-node | |
- 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@v4 | |
- uses: Homebrew/actions/setup-homebrew@master | |
- run: brew bundle | |
- uses: jdx/mise-action@v2 | |
- uses: actions/cache@v4 | |
with: | |
path: ios/Pods | |
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pods- | |
- uses: ./.github/actions/cache-node | |
- run: npm ci | |
- run: npm run prebuild:${{ matrix.platform }} | |
- run: npm run build:${{ matrix.platform }} |