From 2ac1b22677e5dfc8a59f0ee803662ae440e959b1 Mon Sep 17 00:00:00 2001 From: rpdeshaies Date: Tue, 10 Dec 2024 14:08:57 -0500 Subject: [PATCH] fix: update GitHub Actions to use latest cache and upload artifact versions --- .github/workflows/ci.yml | 4 ++-- .github/workflows/int.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb85622b..e05f4ff6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: with: node-version: "18" # Cache - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -45,7 +45,7 @@ jobs: run: npm run validate # Upload Artifacts - name: Upload Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: dist diff --git a/.github/workflows/int.yml b/.github/workflows/int.yml index bb585fc6..4730c273 100644 --- a/.github/workflows/int.yml +++ b/.github/workflows/int.yml @@ -21,7 +21,7 @@ jobs: with: node-version: "18" # Cache - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -40,13 +40,13 @@ jobs: with: start: npm run serve:build - name: Upload Cypress Videos - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: cypress-videos path: cypress/videos - name: Upload Cypress Screenshots - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: cypress-screenshots