From 936142e5c66dfef02c3c1fe541ddaa10cd511963 Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Mon, 8 Nov 2021 12:02:51 +0100 Subject: [PATCH] ci(workflow): add yarn' cache from setup-node action to 'e2e-with-cypress' job (#5957) --- .github/workflows/nodejs.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index fa458c75..c057c40a 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -61,15 +61,7 @@ jobs: with: node-version: '*' check-latest: true - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }} - restore-keys: | - ${{ runner.os }}-yarn- + cache: yarn - uses: actions/download-artifact@master with: name: dev-test-website-${{ runner.os }}