diff --git a/.github/workflows/yarn/action.yml b/.github/workflows/yarn/action.yml index 6520f8d646..afdda97612 100644 --- a/.github/workflows/yarn/action.yml +++ b/.github/workflows/yarn/action.yml @@ -9,20 +9,10 @@ runs: - name: Enable Corepack shell: bash run: corepack enable - - name: Get yarn cache directory path - shell: bash - id: yarn-cache-dir-path - run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - - uses: actions/cache@v4 - id: yarn-cache + - uses: actions/setup-node@v4 with: - path: | - ${{ steps.yarn-cache-dir-path.outputs.dir }} - **/node_modules - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }} - restore-keys: | - ${{ runner.os }}-yarn- + node-version: '22.11.0' # jod + cache: 'yarn' - uses: actions/cache@v4 id: nextjs-cypress-cache