From 0dfee8476aa406a11c34f9d4c315f713790ea372 Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Wed, 11 Sep 2024 16:18:21 +0200 Subject: [PATCH] ci: ci.yml migrate upload-artifact and download-artifact to v4 (#950) * ci: migrate upload-artifact and download-artifact to v4 * Remove unnecessary merging and uploading --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a63b44f5..fe1b47e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: node-version-file: .nvmrc - run: npm ci - run: npm run build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist path: dist @@ -48,9 +48,9 @@ jobs: node-version-file: .nvmrc - run: npm ci - run: npm run test:unit -- --ci --reporters=default --reporters=jest-junit - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: test-results + name: test-results-test path: "**/junit.xml" if-no-files-found: error @@ -65,7 +65,7 @@ jobs: cache: npm node-version-file: .nvmrc - run: npm ci - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: dist path: dist @@ -74,8 +74,8 @@ jobs: working-directory: __tests__/e2e env: TERM: xterm # this is needed for tput - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: test-results + name: test-results-e2e-test path: "**/junit.xml" if-no-files-found: error