Skip to content

Commit 41581a8

Browse files
committed
fix(setup-project): correct pnpm version input handling in action.yml
* Ensure pnpm version is set correctly in the action configuration. * Remove redundant line for node-version input.
1 parent 3de22fa commit 41581a8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/actions/setup-project/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ runs:
2525
steps:
2626
- name: Install pnpm
2727
uses: pnpm/action-setup@v4
28+
with:
29+
version: ${{ inputs.pnpm-version || 'latest' }}
2830

2931
- name: Setup Node.js
3032
uses: actions/setup-node@v4
3133
with:
32-
node-version: ${{ inputs.node-version }}
3334
cache: pnpm
3435
registry-url: ${{ inputs.registry-url }}
3536

0 commit comments

Comments
 (0)