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
7 changes: 7 additions & 0 deletions pnpm-install/action.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: "pnpm install"
description: "Run pnpm install with cache enabled"

inputs:
working-directory:
description: "Directory containing pnpm-lock.yaml (defaults to repo root)"
required: false
default: "."

runs:
using: "composite"
steps:
Expand Down Expand Up @@ -37,6 +43,7 @@ runs:

- name: Install dependencies
shell: bash
working-directory: ${{ inputs.working-directory }}
run: |
pnpm install --frozen-lockfile --prefer-offline --loglevel error
env:
Expand Down
Loading