Files
App/.github/workflows/run-jest-test-suite.yml
Ritesh Shukla a6b575c998 React native upgrade to 0.81 (#472)
React Native and dependency upgrades
2025-08-14 06:30:10 -05:00

37 lines
876 B
YAML

name: Run Jest Unit Tests
on:
push:
branches-ignore:
- "main"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
run-jest-test-suite:
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout
uses: actions/checkout@v4
- name: 🖥 Setup Node 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: 💬 Echo package.json version to Github ENV
run: echo VERSION_NUMBER=$(node -p -e "require('./package.json').version") >> $GITHUB_ENV
- name: 🤖 Run yarn init-android
run: yarn install --network-concurrency 1
- name: 🔍 Run yarn tsc
run: yarn tsc
- name: 🧪 Run yarn test
run: yarn test
- name: 🦋 Check Styling
run: yarn format:check