From a547729e6af7c1c04a017d04f437e36ceae82e70 Mon Sep 17 00:00:00 2001 From: John Hildenbiddle Date: Fri, 28 Jan 2022 23:24:37 -0600 Subject: [PATCH] Update test artifact config --- .github/workflows/test.yml | 7 +++---- .gitignore | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d5ca40efd..8a945c496 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,11 +30,10 @@ jobs: run: npx playwright install --with-deps - name: E2E Tests (Playwright) run: npm run test:e2e - - name: Upload artifacts (diff output) - uses: actions/upload-artifact@v2 - if: always() + - uses: actions/upload-artifact@v2 + if: failure() with: - name: ${{ matrix.os }}-${{ matrix.node-version }}-diff-output + name: ${{ matrix.os }}-${{ matrix.node-version }}-artifacts path: | _playwright-results/ _playwright-report/ diff --git a/.gitignore b/.gitignore index dee642996..00cdf4834 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ .DS_Store .idea *.log -__diff_output__ _playwright-report _playwright-results lib