From 52d911c7cd7e1e088b2c9609951ea08424ded356 Mon Sep 17 00:00:00 2001 From: Rafael Oliveira <24792458+rexrafa@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:27:37 -0300 Subject: [PATCH] chore: update actions/cache --- .github/workflows/index.yml | 4 ++-- .github/workflows/lighthouse.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/index.yml b/.github/workflows/index.yml index abf22557d..9843fc85a 100644 --- a/.github/workflows/index.yml +++ b/.github/workflows/index.yml @@ -1,4 +1,4 @@ -# This is a basic workflow to help you get started with Actions +cache@v4# This is a basic workflow to help you get started with Actions name: Algolia Index @@ -29,7 +29,7 @@ jobs: node-version: '14' - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.npm key: npm-${{ hashFiles('package-lock.json') }} diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index 661446ef3..431d6e314 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -1,4 +1,4 @@ -name: Lighthouse Audit +cache@v4name: Lighthouse Audit on: pull_request: branches: @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}