Skip to content

Commit

Permalink
working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mPaella committed Dec 6, 2024
1 parent 0467c4d commit 0624383
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/actions/pnpm-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ inputs:
install-args:
description: "Additional args supplied to 'pnpm install'"
required: false
working-directory:
description: "Working directory to run the command in"
required: false
default: ./typescript

runs:
using: "composite"
Expand All @@ -28,7 +32,7 @@ runs:
echo "PNPM version: ${{ inputs.pnpm-version }}"
echo "Skip install: ${{ inputs.skip-install }}"
echo "Install args: ${{ inputs.install-args }}"
echo "Working directory: ${{ inputs.working-directory }}"
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
Expand Down Expand Up @@ -63,4 +67,5 @@ runs:
- name: Install dependencies
shell: bash
if: inputs.skip-install == 'false'
working-directory: ${{ inputs.working-directory }}
run: pnpm install --frozen-lockfile --prefer-offline ${{ inputs.install-args }}

0 comments on commit 0624383

Please sign in to comment.