From 1d4e69eded77687e088b78cf84b36623974edbb9 Mon Sep 17 00:00:00 2001 From: Brian Ingles Date: Thu, 18 Jul 2024 12:11:08 -0500 Subject: [PATCH] Publishing report as artifact (#29) --- .github/workflows/e2e.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 4761dc4c..347c0976 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -25,11 +25,15 @@ jobs: - name: Merge reports run: npx ctrf merge e2e/reports --output ctrf-report.json - name: Publish Test Summary Results - # There doesn't seem to be a way to configure the number of retention - # days here, but we can configure it in the repository settings. run: | npm run gh:ctrf -- e2e/reports/ctrf-report.json cp $GITHUB_STEP_SUMMARY e2e-summary.html + - name: Upload Summary as Artifact + uses: actions/upload-artifact@v4 + with: + name: e2e-summary + path: e2e-summary.html + retention-days: 1 - name: Publish Summary as PR Comment uses: thollander/actions-comment-pull-request@v2 with: