From 93d75f92f62fd316c22554cc3fcb3b5ded054d6a Mon Sep 17 00:00:00 2001 From: Brian Ingles Date: Thu, 18 Jul 2024 13:28:11 -0500 Subject: [PATCH] Trying an update (#29) --- .github/workflows/e2e.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 3f2430a5..a95438e0 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,5 +1,3 @@ -# This configuration is loosely based on documentation here: -# https://github.com/stateful/vscode-awesome-ux/blob/main/docs/TestingExtensions.md#run-tests-in-cicd name: End-to-end Tests on: push: @@ -36,11 +34,6 @@ jobs: name: e2e-reports path: e2e/reports/ retention-days: 1 - # - name: Publish Summary as PR Comment - # uses: thollander/actions-comment-pull-request@v2 - # with: - # filePath: e2e/reports/e2e-summary.html - # comment_tag: summary - name: 'Comment on PR' uses: actions/github-script@v7 with: @@ -54,7 +47,7 @@ jobs: repo: context.repo.repo, issue_number: prNumber, }) - console.log('Result:', comments); + const marker = ''; const summaryContent = String(fs.readFileSync('e2e/reports/e2e-summary.html')); const contentWithMarker = `${marker}\n${summaryContent}`;