Skip to content

chore(test): Use Mocha.js instead of Jest #285

chore(test): Use Mocha.js instead of Jest

chore(test): Use Mocha.js instead of Jest #285

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_call:
concurrency:
group: ci-${{ github.ref_name }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 19, 20, 21]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: yarn
- uses: actions/cache@v4
with:
path: ./package/node_modules
key: ${{ runner.os }}-react-native-testing-mocks-${{ hashFiles('./yarn.lock') }}
restore-keys: ${{ runner.os }}-react-native-testing-mocks-
- run: yarn install --immutable
- run: yarn compile
- run: yarn lint
- run: yarn test