Skip to content

Commit e7616f5

Browse files
committed
ci: pin pnpm via packageManager, drop per-workflow version
1 parent 5a8487d commit e7616f5

10 files changed

Lines changed: 3 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525
with:
2626
persist-credentials: false
2727
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
28-
with:
29-
version: 11
3028
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3129
with:
3230
node-version: 24
@@ -43,8 +41,6 @@ jobs:
4341
with:
4442
persist-credentials: false
4543
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
46-
with:
47-
version: 11
4844
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
4945
with:
5046
node-version: 24
@@ -67,8 +63,6 @@ jobs:
6763
with:
6864
persist-credentials: false
6965
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
70-
with:
71-
version: 11
7266
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
7367
with:
7468
node-version: 24
@@ -84,8 +78,6 @@ jobs:
8478
with:
8579
persist-credentials: false
8680
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
87-
with:
88-
version: 11
8981
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
9082
with:
9183
node-version: 24
@@ -109,8 +101,6 @@ jobs:
109101
with:
110102
persist-credentials: false
111103
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
112-
with:
113-
version: 11
114104
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
115105
with:
116106
node-version: 24

.github/workflows/docs-lint.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ jobs:
5858
with:
5959
persist-credentials: false
6060
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
61-
with:
62-
version: 11
6361
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
6462
with:
6563
node-version: 24
@@ -88,8 +86,6 @@ jobs:
8886
with:
8987
persist-credentials: false
9088
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
91-
with:
92-
version: 11
9389
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
9490
with:
9591
node-version: 24
@@ -119,8 +115,6 @@ jobs:
119115
with:
120116
persist-credentials: false
121117
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
122-
with:
123-
version: 11
124118
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
125119
with:
126120
node-version: 24

.github/workflows/docs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ jobs:
3232
with:
3333
persist-credentials: false
3434
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
35-
with:
36-
version: 11
3735
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3836
with:
3937
node-version: 24

.github/workflows/full-lockfile-audit.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ jobs:
4444
with:
4545
persist-credentials: false
4646
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
47-
with:
48-
# Exact patch avoids resolving a new package-manager release at audit
49-
# run time; update with reviewed pnpm/tooling bumps.
50-
version: 11.5.3
5147
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
5248
with:
5349
node-version: 24

.github/workflows/mutation-testing.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
with:
2727
persist-credentials: false
2828
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
29-
with:
30-
version: 11.5.3
3129
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3230
with:
3331
node-version: 24

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ jobs:
105105
echo "Resolved refs/tags/$REQUESTED_REF to $RELEASE_SHA."
106106
107107
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
108-
with:
109-
version: 11
110108
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
111109
with:
112110
node-version: 24

.github/workflows/security.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ jobs:
2323
with:
2424
persist-credentials: false
2525
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
26-
with:
27-
version: 11
2826
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2927
with:
3028
node-version: 24

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pnpm install
99
pnpm all # lint + release policy + typecheck + test + build + spellcheck
1010
```
1111

12-
Requirements: Node 24+, pnpm 11+. The action runs on Node 24 in the GitHub Actions runtime; we test against Node 24 on Linux, macOS, and Windows.
12+
Requirements: Node 24+. pnpm is pinned via the `packageManager` field in `package.json` (currently `pnpm@11.5.3`); with corepack enabled, `pnpm` in this repo uses that version automatically. The action runs on Node 24 in the GitHub Actions runtime; we test against Node 24 on Linux, macOS, and Windows.
1313

1414
`pnpm install` also wires up git hooks (via [husky](https://github.com/typicode/husky)):
1515

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The full-lockfile audit uses the pnpm builtin directly, not a package script:
100100
`pnpm audit --audit-level high`. This mirrors the per-change and
101101
scheduled/manual workflow that covers dev/build tooling.
102102

103-
Requirements: Node 24+, pnpm 11+. The Action runs on Node 24 in the GitHub Actions runtime; CI tests Node 24 across Ubuntu / macOS / Windows.
103+
Requirements: Node 24+. pnpm is pinned via the `packageManager` field in `package.json` (currently `pnpm@11.5.3`); with corepack enabled, running `pnpm` in this repo uses that version automatically, so local and CI share one pnpm version. The Action runs on Node 24 in the GitHub Actions runtime; CI tests Node 24 across Ubuntu / macOS / Windows.
104104

105105
### Managed lychee binary
106106

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"private": true,
55
"description": "Upload, download, sync, copy, and manage Backblaze B2 Cloud Storage from GitHub Actions. Built on @backblaze-labs/b2-sdk.",
66
"type": "module",
7+
"packageManager": "pnpm@11.5.3",
78
"engines": {
89
"node": ">=24"
910
},

0 commit comments

Comments
 (0)