Skip to content

Commit

Permalink
Merge pull request #311 from hidoo/ci/pnpm-version-from-package-manager
Browse files Browse the repository at this point in the history
ci(github): change to specify pnpm version by packageManager field
  • Loading branch information
hidoo committed Apr 30, 2024
2 parents 6656475 + 810832a commit 7d5bbf1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Set pnpm version
shell: bash
run: |
pnpm=$(cat package.json | jq -r .engines.pnpm)
echo "PNPM_VERSION=${pnpm}" >> $GITHUB_ENV
- name: Install pnpm
uses: pnpm/action-setup@v3.0.0
with:
version: ${{ env.PNPM_VERSION }}
run_install: false

- name: Get pnpm store directory
Expand Down

0 comments on commit 7d5bbf1

Please sign in to comment.