From 32cbb37556603c2fc948e98a423d756ef6a7f37b Mon Sep 17 00:00:00 2001 From: A1lo Date: Wed, 1 May 2024 09:21:33 +0800 Subject: [PATCH] perf(ci/pr-lint): specify lock file paths to reduce the search time (#19898) --- .github/workflows/pr-check-lint_content.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-check-lint_content.yml b/.github/workflows/pr-check-lint_content.yml index 8729e246a94ed5..768f1b314506ce 100644 --- a/.github/workflows/pr-check-lint_content.yml +++ b/.github/workflows/pr-check-lint_content.yml @@ -73,7 +73,9 @@ jobs: with: node-version-file: ".nvmrc" cache: yarn - cache-dependency-path: "**/yarn.lock" + cache-dependency-path: | + mdn/content/yarn.lock + yarn.lock - name: Install all yarn packages for mdn/translated-content if: ${{ env.DIFF_DOCUMENTS }}