mirror of
https://github.com/Inside4ndroid/TMDB-Embed-API.git
synced 2026-10-22 17:45:11 +00:00
Update main.yml
This commit is contained in:
@@ -28,10 +28,9 @@ jobs:
|
|||||||
# - name: Start API
|
# - name: Start API
|
||||||
# run: npm run start &
|
# run: npm run start &
|
||||||
|
|
||||||
# Optional: Wait for it to be ready
|
- name: Wait for API to be ready
|
||||||
# - name: Wait for API to be ready
|
run: |
|
||||||
# run: |
|
timeout 60 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:3000)" != "200" ]]; do sleep 1; done'
|
||||||
# timeout 60 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:3000)" != "200" ]]; do sleep 1; done'
|
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: npm run test:ci
|
run: npm run test:ci
|
||||||
|
|||||||
Reference in New Issue
Block a user