Update main.yml

This commit is contained in:
Inside4ndroid
2025-04-12 16:38:36 +01:00
committed by GitHub
parent f295de696d
commit fa84d0e1c2
+4 -5
View File
@@ -28,10 +28,9 @@ jobs:
# - name: Start API
# run: npm run start &
# Optional: Wait for it to be ready
# - name: Wait for API to be ready
# run: |
# timeout 60 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:3000)" != "200" ]]; do sleep 1; done'
- name: Wait for API to be ready
run: |
timeout 60 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:3000)" != "200" ]]; do sleep 1; done'
- name: Run Tests
run: npm run test:ci
@@ -55,4 +54,4 @@ jobs:
# uses: actions/upload-artifact@v3.1.3
# with:
# name: jest-log-${{ matrix.node-version }}
# path: jest.log
# path: jest.log