Skip to content

Commit bd3a276

Browse files
committed
ci: Use pnpm version from package.json
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.
1 parent 3c92e33 commit bd3a276

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ jobs:
2828
with:
2929
node-version: 18
3030

31-
- uses: pnpm/action-setup@v4.0.0
31+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
3232
name: Install pnpm
3333
id: pnpm-install
3434
with:
35-
version: 8
3635
run_install: false
3736

3837
- name: Build

.github/workflows/publish.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ jobs:
4242
node-version: "18"
4343
registry-url: "https://registry.npmjs.org"
4444

45-
- uses: pnpm/action-setup@v4.0.0
45+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
4646
name: Install pnpm
4747
id: pnpm-install
4848
with:
49-
version: 8
5049
run_install: false
5150

5251
- name: "Install Packages"

0 commit comments

Comments
 (0)