Skip to content

Update app.ts

Update app.ts #175

Workflow file for this run

name: Jest Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
services:
mongo:
image: mongo:latest
options: --health-cmd="exit 0" # Disable health check to avoid flakiness
ports:
- 27017:27017
timeout: 300s # Increase timeout

Check failure on line 15 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Jest Tests

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 15, Col: 9): Unexpected value 'timeout' .github/workflows/test.yml (Line: 31, Col: 9): Unexpected value 'retry'
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
retry: 3 # Add retry logic