diff --git a/.github/workflows/simorgh-integration-tests.yml b/.github/workflows/simorgh-integration-tests.yml index 1fb21ab89f0..6712d6db913 100644 --- a/.github/workflows/simorgh-integration-tests.yml +++ b/.github/workflows/simorgh-integration-tests.yml @@ -27,6 +27,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - uses: actions/cache@v2 + id: yarn-cache with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/simorgh-unit-tests.yml b/.github/workflows/simorgh-unit-tests.yml index eb81c24e261..090bb30e235 100644 --- a/.github/workflows/simorgh-unit-tests.yml +++ b/.github/workflows/simorgh-unit-tests.yml @@ -28,6 +28,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - uses: actions/cache@v2 + id: yarn-cache with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}