Skip to content

Commit 72eb02a

Browse files
Update main.yml
1 parent fa84d0e commit 72eb02a

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

.github/workflows/main.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -24,34 +24,11 @@ jobs:
2424

2525
- run: npm ci
2626

27-
# Optional: Start your app if needed
28-
# - name: Start API
29-
# run: npm run start &
30-
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'
34-
3527
- name: Run Tests
3628
run: npm run test:ci
3729

38-
# - name: Upload test results
39-
# if: always()
40-
# uses: actions/upload-artifact@v3.1.3
41-
# with:
42-
# name: jest-test-results-${{ matrix.node-version }}
43-
# path: test-results/junit.xml
44-
4530
# Optional: Show test output log (if you use one)
4631
- name: Show test log
4732
if: always()
4833
run: |
4934
cat jest.log || echo "No jest.log found"
50-
51-
# Optional: Upload log as artifact for debugging
52-
# - name: Upload jest log
53-
# if: always()
54-
# uses: actions/upload-artifact@v3.1.3
55-
# with:
56-
# name: jest-log-${{ matrix.node-version }}
57-
# path: jest.log

0 commit comments

Comments
 (0)