Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions github-actions/npm/checkout-and-setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ inputs:

cache-dependency-path:
description: |
Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc.
Supports wildcards or a list of file names for caching multiple dependencies.
default: ''
File path to the pnpm lockfile, whose contents hash will be used as a cache key. Accepts multiple paths delimited by newlines.
default: 'pnpm-lock.yaml'

runs:
using: composite
Expand Down Expand Up @@ -57,10 +56,11 @@ runs:
uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6.0.5
with:
run_install: false
cache_dependency_path: ${{ inputs.cache-dependency-path }}
Comment thread
alan-agius4 marked this conversation as resolved.
cache: ${{ inputs.disable-package-manager-cache != 'true' }}

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: ${{ inputs.node-version-file-path }}
node-version: ${{ inputs.node-version }}
cache-dependency-path: ${{ inputs.cache-dependency-path }}
cache: ${{ inputs.disable-package-manager-cache != 'true' && steps.packageManager.outputs.CACHE_MANAGER_VALUE || '' }}
package-manager-cache: false
Loading