diff --git a/.github/actions/yarn-install/action.yaml b/.github/actions/yarn-install/action.yaml index 157fb07e8ae..9441d6f6e11 100644 --- a/.github/actions/yarn-install/action.yaml +++ b/.github/actions/yarn-install/action.yaml @@ -1,10 +1,12 @@ name: "My Shared Steps" -description: "Doing yarn installs with propper caching" +description: "Doing yarn installs with proper caching" runs: using: "composite" steps: - name: 'Setting up Node' - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 + with: + cache: 'yarn' - name: "Getting yarn cache directory path" id: yarn-cache-dir-path diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 03fc2571b2e..b0e60c23c61 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -24,7 +24,9 @@ jobs: with: fetch-depth: 0 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 + with: + cache: 'yarn' - name: Get yarn cache directory path working-directory: frontend