Skip to content

Commit 35dcacd

Browse files
authored
ci: upgrade to pnpm 10 (#1566)
1 parent e53e2b3 commit 35dcacd

File tree

11 files changed

+5147
-3962
lines changed

11 files changed

+5147
-3962
lines changed

.github/workflows/checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
- name: Install pnpm
1414
uses: pnpm/action-setup@v4
1515
with:
16-
version: 8
16+
version: 10
1717
- name: Install Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 16
20+
node-version: 20
2121
cache: 'pnpm'
2222
- name: Check size
2323
uses: andresz1/size-limit-action@master
@@ -43,11 +43,11 @@ jobs:
4343
- name: Install pnpm
4444
uses: pnpm/action-setup@v4
4545
with:
46-
version: 8
46+
version: 10
4747
- name: Install Node.js
4848
uses: actions/setup-node@v4
4949
with:
50-
node-version: 16
50+
node-version: 20
5151
cache: 'pnpm'
5252
- name: Check package.json files
5353
run: pnpm dlx @trigen/lint-package-json

.github/workflows/commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
- name: Install pnpm
1414
uses: pnpm/action-setup@v4
1515
with:
16-
version: 8
16+
version: 10
1717
- name: Install Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 16
20+
node-version: 20
2121
cache: 'pnpm'
2222
- name: Install dependencies
2323
run: pnpm install

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
- name: Install pnpm
1313
uses: pnpm/action-setup@v4
1414
with:
15-
version: 8
15+
version: 10
1616
- name: Install Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: 16
19+
node-version: 20
2020
cache: 'pnpm'
2121
registry-url: 'https://registry.npmjs.org'
2222
- name: Install dependencies

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
- name: Install pnpm
1616
uses: pnpm/action-setup@v4
1717
with:
18-
version: 8
18+
version: 10
1919
- name: Install Node.js
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: 16
22+
node-version: 20
2323
cache: 'pnpm'
2424
- name: Install dependencies
2525
run: pnpm install
@@ -34,11 +34,11 @@ jobs:
3434
- name: Install pnpm
3535
uses: pnpm/action-setup@v4
3636
with:
37-
version: 8
37+
version: 10
3838
- name: Install Node.js
3939
uses: actions/setup-node@v4
4040
with:
41-
node-version: 16
41+
node-version: 20
4242
cache: 'pnpm'
4343
- name: Install dependencies
4444
run: pnpm install

.github/workflows/website.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
- name: Install pnpm
2626
uses: pnpm/action-setup@v4
2727
with:
28-
version: 8
28+
version: 10
2929
- name: Install Node.js
3030
uses: actions/setup-node@v4
3131
with:
32-
node-version: 16
32+
node-version: 20
3333
cache: 'pnpm'
3434
- name: Install dependencies
3535
run: pnpm install

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
auto-install-peers=false
2+
public-hoist-pattern[]=*eslint-plugin*

.tool-versions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pnpm 10.11.0
2+
nodejs 22.4.1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"size-limit": "^11.0.0",
100100
"standard-version": "^9.5.0",
101101
"typedoc": "^0.25.1",
102-
"typescript": "^5.1.3",
102+
"typescript": "5.1.3",
103103
"vite": "^5.0.4",
104104
"vitest": "^3.0.0"
105105
}

0 commit comments

Comments
 (0)