Install Node.js dependencies with optional caching.
- uses: metaplex-foundation/actions/install-node-dependencies@v1
with:
folder: .
command: pnpm install --frozen-lockfile
cache: true
key: node
- Inputs:
folder
: Path to the folder containing the desired package.json (without trailing slash). Defaults to.
.command
: The command to install dependencies. Defaults topnpm install --frozen-lockfile
.cache
: Whether installed dependencies should be cached. Defaults totrue
.key
: A unique key prefix for the cache. Defaults tonode
.