diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 482f7c23..a86cb46a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 # This ensures you have the full git history - name: Setup Node.js uses: actions/setup-node@v2 @@ -54,9 +56,22 @@ jobs: run: ps aux - run: yarn build - - run: yarn test + + - name: Debug - List Processes + run: ps aux + + - name: Run tests with detailed output + run: | + echo "::group::Detailed Test Output" + yarn test + echo "::endgroup::" - name: Get test coverage uses: coverallsapp/github-action@master with: - github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + github-token: ${{ secrets.GITHUB_TOKEN }} + + # Modified tmate step without the timeout-minutes option + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + if: ${{ failure() }}