File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments