Skip to content

Merge pull request #571 from rinafcode/feat-fix-errors #562

Merge pull request #571 from rinafcode/feat-fix-errors

Merge pull request #571 from rinafcode/feat-fix-errors #562

Workflow file for this run

name: Test Suite
on:
push:
branches: [main, fix-issue-49-testing-suite]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
env:
EXPO_PUBLIC_API_BASE_URL: https://api.teachlink.com
EXPO_PUBLIC_SOCKET_URL: wss://api.teachlink.com
EXPO_PUBLIC_APP_ENV: production
EXPO_PUBLIC_ENABLE_PUSH_NOTIFICATIONS: true
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run unit tests
run: npm test -- --runInBand
- name: Run performance regression tests
run: npm test -- --testPathPattern=perf --runInBand
- name: Check performance budgets
run: npm test -- --testPathPattern=perf --runInBand --verbose