Skip to content

Commit fa84d0e

Browse files
Update main.yml
1 parent f295de6 commit fa84d0e

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ jobs:
2828
# - name: Start API
2929
# run: npm run start &
3030

31-
# Optional: Wait for it to be ready
32-
# - name: Wait for API to be ready
33-
# run: |
34-
# timeout 60 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:3000)" != "200" ]]; do sleep 1; done'
31+
- name: Wait for API to be ready
32+
run: |
33+
timeout 60 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:3000)" != "200" ]]; do sleep 1; done'
3534
3635
- name: Run Tests
3736
run: npm run test:ci
@@ -55,4 +54,4 @@ jobs:
5554
# uses: actions/upload-artifact@v3.1.3
5655
# with:
5756
# name: jest-log-${{ matrix.node-version }}
58-
# path: jest.log
57+
# path: jest.log

0 commit comments

Comments
 (0)