From 8939fba4794476721cd2cb6b67468645b5de9bb4 Mon Sep 17 00:00:00 2001 From: wan9chi Date: Thu, 8 Oct 2026 16:29:58 +0800 Subject: [PATCH] ci(docs): fix lockfile path for docs dependency cache setup-vp resolves cache-dependency-path relative to working-directory, so `docs/pnpm-lock.yaml` pointed at `docs/docs/pnpm-lock.yaml`. Every docs deploy logged "No lock file found ... Skipping cache restore" and never saved the dependency cache. Co-Authored-By: Claude Opus 5.5 --- .github/actions/deploy-docs/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/deploy-docs/action.yml b/.github/actions/deploy-docs/action.yml index 1b28ecb15c..f4ede38385 100644 --- a/.github/actions/deploy-docs/action.yml +++ b/.github/actions/deploy-docs/action.yml @@ -37,7 +37,8 @@ runs: version: 0.0.0-commit.11393b1a9ec1739c5897fefd418bdb095a34db7e cache: true working-directory: docs - cache-dependency-path: docs/pnpm-lock.yaml + # Resolved relative to working-directory. + cache-dependency-path: pnpm-lock.yaml # Vite Task shares the docs build through the remote cache. Uploads # authenticate with a GitHub Actions OIDC token.