Skip to content

Commit 03dafd1

Browse files
committed
it uses package.json
1 parent 7b6003b commit 03dafd1

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

.github/actions/setup/action.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ runs:
2828
env:
2929
INSTALL_DEPENDENCIES: ${{ inputs.installDependencies }}
3030
run: |
31-
PNPM_VERSION=$(cat package.json | jq -r '.packageManager' | awk -F@ '{print $2}')
32-
PNPM_VERSION=${PNPM_VERSION:-9}
33-
echo "Using PNPM version $PNPM_VERSION"
34-
echo "version=$PNPM_VERSION" >> $GITHUB_OUTPUT
35-
3631
if [ $INSTALL_DEPENDENCIES = true ]; then
3732
echo "cache=pnpm" >> $GITHUB_OUTPUT
3833
else
@@ -41,8 +36,6 @@ runs:
4136
4237
- name: install pnpm
4338
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
44-
with:
45-
version: ${{ steps.pnpm.outputs.version }}
4639

4740
- name: install nodejs
4841
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0

0 commit comments

Comments
 (0)