diff --git a/setups/node/action.yaml b/setups/node/action.yaml index 04698e0..72ed67d 100644 --- a/setups/node/action.yaml +++ b/setups/node/action.yaml @@ -14,10 +14,13 @@ runs: - name: Cache PNPM modules uses: actions/cache@v3 with: - path: ~/.local/share/pnpm/store/v3 + path: | + ~/.local/share/pnpm/store/v3 + ~/.pnpm-store + **/node_modules key: ${{ runner.os }}-node-${{ inputs.node-version }}-pnpm-${{ inputs.pnpm-version }}-lock-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | - ${{ runner.os }}-pnpm + ${{ runner.os }}-node-${{ inputs.node-version }}-pnpm-${{ inputs.pnpm-version }}-lock- - name: Setup Node.js uses: actions/setup-node@v3