Skip to content
Snippets Groups Projects
Unverified Commit 643dc98b authored by Uladzimir Havenchyk's avatar Uladzimir Havenchyk Committed by GitHub
Browse files

ci: restore default strategy for yarn cache (#46768)

parent a9ac7404
No related branches found
No related tags found
No related merge requests found
......@@ -43,11 +43,8 @@ runs:
if: steps.node-modules-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
# if global cache is used, we don't care if it's the latest or not
# current github actions settings will invalidate saved cache after
# a week or so, new cache will be fresh we'll not need to spend time
# on it's saving for a specific hash of yarn.lock
key: ${{ runner.os }}-yarn-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile --prefer-offline
shell: bash
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment