fix: store notification timestamps as numeric ms, add migration and u… #576
Workflow file for this run
This file contains hidden or 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: 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 |