diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9968bda759..c264d5435f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,13 @@ jobs: - name: Test run: npm test + - name: Upload test logging + if: github.repository == 'tldr-pages/tldr' && github.event.pull_request.number != '' + uses: actions/upload-artifact@v4 + with: + name: debug.log + path: debug.log + - name: Build run: bash scripts/build.sh diff --git a/scripts/test.sh b/scripts/test.sh index d32574e27e..de54054d01 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -121,7 +121,7 @@ function run_tests_pr { # Additional checks for GitHub Actions pull request builds. # Only taken as suggestions, does not make the build fail. function run_checks_pr { - msgs=$(bash scripts/check-pr.sh) + msgs=$(bash scripts/check-pr.sh -v) if [[ -n $msgs ]]; then echo -e "\nCheck PR reported the following message(s):\n$msgs\n" >&2