Skip to content

Commit

Permalink
Specify location of package.json field for PNPM install (#54)
Browse files Browse the repository at this point in the history
When using a custom path, the PNPM installer seems to need to know where the package.json is, which isn't in the root.
  • Loading branch information
benbrandt authored Jun 5, 2024
1 parent 54c6210 commit 7b43715
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ runs:
uses: pnpm/action-setup@v3
with:
version: ${{ env.VERSION }}
package_json_file: "${{ inputs.path }}/package.json"

- name: Setup Bun
if: ${{ env.PACKAGE_MANAGER == 'bun' }}
Expand Down

0 comments on commit 7b43715

Please sign in to comment.