From ddf727fa4dca03736cbea296e8fc7ce4a2f78783 Mon Sep 17 00:00:00 2001 From: A1lo Date: Tue, 30 Apr 2024 17:14:19 +0800 Subject: [PATCH] perf(ci/pr-lint): specify lock file paths to reduce the search time --- .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 }}