From d4eb0cf305778b3603598cefad0145ba1c61827c Mon Sep 17 00:00:00 2001 From: Jesse Victors Date: Wed, 6 Nov 2024 16:33:24 -0700 Subject: [PATCH 1/2] Update upload-artifacts --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a171481..50d0fc7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,12 +26,12 @@ jobs: - name: Run tests run: npm test -- --ci --coverage --runInBand - name: Upload test reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-reports path: test/reports - name: Upload test coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-coverage path: test/coverage From 103c61681fa03925a5f296128c68010cde538093 Mon Sep 17 00:00:00 2001 From: Justin Stayton Date: Thu, 7 Nov 2024 08:58:24 -0500 Subject: [PATCH 2/2] Ensure unique artifact name See: https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md#multiple-uploads-to-the-same-named-artifact --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50d0fc7..896adef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,10 +28,10 @@ jobs: - name: Upload test reports uses: actions/upload-artifact@v4 with: - name: test-reports + name: test-reports-${{ matrix.node-version }} path: test/reports - name: Upload test coverage uses: actions/upload-artifact@v4 with: - name: test-coverage + name: test-coverage-${{ matrix.node-version }} path: test/coverage