From 9f24365a5c443d6c2f271bc4a51e8f775cf9aec4 Mon Sep 17 00:00:00 2001 From: Nick Seguin Date: Sun, 10 Dec 2023 02:36:48 -0600 Subject: [PATCH] pnpm fix --- .forgejo/workflows/build.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 53a090a..913933f 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -14,15 +14,11 @@ jobs: - uses: actions/checkout@v4 - name: install pnpm run: npm install -g pnpm - - name: get npm cache directory - id: pnpm-cache-dir - shell: bash - run: pnpm config set store-dir .pnpm-store - uses: actions/cache@v3 id: pnpm-cache name: restore pnpm cache with: - path: .pnpm-store + path: ~/.pnpm-store key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm- @@ -32,7 +28,7 @@ jobs: name: save pnpm cache if: steps.pnpm-cache.outputs.cache-hit != 'true' with: - path: .pnpm-store + path: ~/.pnpm-store key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml) }} - uses: actions/cache@v3 id: nuget-cache