Skip to content

Commit

Permalink
ci: Use pnpm version from package.json
Browse files Browse the repository at this point in the history
Remove pnpm version from  CI workflows to use the version specified in the root package.json's `packageManager` property.
This property is set by npm corepack.

Also update the pnpm setup actions and pin them to a fixed commit hash.
  • Loading branch information
lucas-koehler committed Feb 24, 2025
1 parent 3c92e33 commit bd3a276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ jobs:
with:
node-version: 18

- uses: pnpm/action-setup@v4.0.0
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false

- name: Build
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,10 @@ jobs:
node-version: "18"
registry-url: "https://registry.npmjs.org"

- uses: pnpm/action-setup@v4.0.0
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false

- name: "Install Packages"
Expand Down

0 comments on commit bd3a276

Please sign in to comment.