Skip to content

Commit b6ca79a

Browse files
authored
chore: pin pnpm via packageManager (#39)
Adds `"packageManager": "pnpm@10.28.2"` to `package.json` and drops the redundant `version:` arg from `pnpm/action-setup` in CI. The action now reads the version from `packageManager`, giving a single source of truth shared between local dev and CI. Matches the convention used in `marimo` and `marimo-lsp`.
1 parent b7c1edf commit b6ca79a

3 files changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717

1818
- name: Install pnpm
1919
uses: pnpm/action-setup@903f9c1a6ebcba6cf41d87230be49611ac97822e # v6
20-
with:
21-
version: 10
2220

2321
- name: Set node
2422
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
@@ -38,8 +36,6 @@ jobs:
3836

3937
- name: Install pnpm
4038
uses: pnpm/action-setup@903f9c1a6ebcba6cf41d87230be49611ac97822e # v6
41-
with:
42-
version: 10
4339

4440
- name: Set node
4541
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
@@ -59,8 +55,6 @@ jobs:
5955

6056
- name: Install pnpm
6157
uses: pnpm/action-setup@903f9c1a6ebcba6cf41d87230be49611ac97822e # v6
62-
with:
63-
version: 10
6458

6559
- name: Set node
6660
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818

1919
- name: Install pnpm
2020
uses: pnpm/action-setup@903f9c1a6ebcba6cf41d87230be49611ac97822e # v6
21-
with:
22-
version: 10
2321

2422
- name: Set node
2523
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Teleport React components into anywhere into the react-tree.",
55
"author": "marimo",
66
"license": "MIT",
7+
"packageManager": "pnpm@10.28.2",
78
"type": "module",
89
"publishConfig": {
910
"access": "public"

0 commit comments

Comments
 (0)