We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 174b1bf commit a0c447aCopy full SHA for a0c447a
.github/actions/setup-node/action.yml
@@ -47,11 +47,6 @@ runs:
47
(steps.node-modules-restore.outputs.cache-hit == 'true') && 'true' || ''
48
}}' >> "$GITHUB_ENV"
49
50
- - name: Calculate `PNPM_STORE`
51
- shell: bash
52
- run: |
53
- echo "PNPM_STORE=$(pnpm store path)" >> "$GITHUB_ENV"
54
-
55
- name: Setup pnpm
56
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
57
with:
@@ -62,6 +57,11 @@ runs:
62
63
58
node-version: ${{ inputs.node-version }}
64
59
60
+ - name: Calculate `PNPM_STORE`
61
+ shell: bash
+ run: |
+ echo "PNPM_STORE=$(pnpm store path)" >> "$GITHUB_ENV"
+
65
- name: Cache and restore `pnpm store`
66
if: env.CACHE_HIT != 'true'
67
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
0 commit comments