Skip to content

Commit 7ef4f07

Browse files
committed
ci: remove Node 20 pnpm setup action
1 parent da2c8e6 commit 7ef4f07

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,15 @@ jobs:
4444
- name: Checkout
4545
uses: actions/checkout@v4
4646

47-
- name: Setup pnpm
48-
uses: pnpm/action-setup@v4
49-
# version is read from package.json's `packageManager` field — don't
50-
# pin it here, or pnpm/action-setup refuses with "Multiple versions
51-
# of pnpm specified".
52-
5347
- name: Setup Node ${{ matrix.node-version }}
5448
uses: actions/setup-node@v4
5549
with:
5650
node-version: ${{ matrix.node-version }}
5751
cache: pnpm
5852

53+
- name: Install pnpm
54+
run: npm install -g pnpm@10.16.1
55+
5956
- name: Install dependencies
6057
run: pnpm install --frozen-lockfile
6158

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,15 @@ jobs:
3838
# If you ever add a ruleset that gates `main`, restore the
3939
# `token: ${{ secrets.RELEASE_PAT }}` line and create a PAT with
4040
# `contents:write` scoped to this repo.
41-
- uses: pnpm/action-setup@v4
42-
# version is read from package.json's `packageManager` field — don't
43-
# pin it here, or pnpm/action-setup refuses with "Multiple versions
44-
# of pnpm specified".
45-
4641
- uses: actions/setup-node@v6
4742
with:
4843
node-version: 22
4944
registry-url: https://registry.npmjs.org
5045
cache: pnpm
5146

47+
- name: Install pnpm
48+
run: npm install -g pnpm@10.16.1
49+
5250
- run: pnpm install --frozen-lockfile
5351
- name: Ensure zip/unzip
5452
run: sudo apt-get update -qq && sudo apt-get install -y -qq zip unzip

0 commit comments

Comments
 (0)