We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fec2c81 commit 4d80072Copy full SHA for 4d80072
.github/actions/setup-nix/action.yaml
@@ -34,6 +34,21 @@ runs:
34
done
35
nix profile install --inputs-from . $packages
36
37
+ - name: Get pnpm store directory
38
+ if: inputs.skip-pnpm-install != 'true'
39
+ id: pnpm-cache
40
+ shell: bash
41
+ run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
42
+
43
+ - name: Restore pnpm cache
44
45
+ uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
46
+ with:
47
+ path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
48
+ key: pnpm-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
49
+ restore-keys: |
50
+ pnpm-${{ runner.os }}-
51
52
- name: Install pnpm dependencies
53
if: inputs.skip-pnpm-install != 'true'
54
shell: bash
0 commit comments