From d77307fce034d0d5118531d62afd4a2baa617d91 Mon Sep 17 00:00:00 2001 From: Pascal Martineau Date: Wed, 27 Aug 2025 14:19:06 -0400 Subject: [PATCH] feat: persistent PNPM_STORE_DIR --- .gitea/workflows/deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 37eb0a4..5cbec25 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -4,6 +4,7 @@ on: [push] env: NUXT_PROJECT_PATH: wp-content/themes/ccat + PNPM_STORE_DIR: /cache/wp-scripts/pnpm jobs: deploy: @@ -29,7 +30,7 @@ jobs: - name: Install Node.js dependencies working-directory: ${{ env.NUXT_PROJECT_PATH }} - run: pnpm install + run: pnpm install --store-dir=${{ env.PNPM_STORE_DIR }} - name: Deploy to NuxtHub working-directory: ${{ env.NUXT_PROJECT_PATH }}