feat: tx lookup, live rates, fee USD preview, address book (#259 #260 #262 #263) #94
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: Monitoring and Alerting Tests | |
| on: | |
| push: | |
| branches: [main, 'feature/**'] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| monitoring-tests: | |
| name: Monitoring & Alerting Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run monitoring and alerting tests | |
| run: npx vitest run backend/tests/monitoring-alerting.test.js --reporter=verbose | |
| env: | |
| NODE_ENV: test | |
| - name: Upload monitoring test report | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: monitoring-test-report-${{ github.sha }} | |
| path: test-reports/ | |
| retention-days: 14 | |
| - name: Comment PR on monitoring test failure | |
| if: failure() && github.event_name == 'pull_request' | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| github.rest.issues.createComment({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| body: '🔔 **Monitoring/alerting test failure detected.** Review the `monitoring-test-report` artifact for details on which alert scenarios or accuracy checks failed.' | |
| }); |