Skip to content

Commit 76f8670

Browse files
authored
ci: upgrade pnpm and node (#1240)
1 parent 65b68c6 commit 76f8670

File tree

10 files changed

+12999
-10192
lines changed

10 files changed

+12999
-10192
lines changed

.github/workflows/checks.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
- name: Install pnpm
1414
uses: pnpm/action-setup@v2
1515
with:
16-
version: 7
16+
version: 9
1717
- name: Install Node.js
1818
uses: actions/setup-node@v3
1919
with:
20-
node-version: 16
20+
node-version: 22
2121
cache: 'pnpm'
2222
- name: Check size
2323
uses: andresz1/size-limit-action@master
@@ -32,11 +32,11 @@ jobs:
3232
- name: Install pnpm
3333
uses: pnpm/action-setup@v2
3434
with:
35-
version: 7
35+
version: 9
3636
- name: Install Node.js
3737
uses: actions/setup-node@v3
3838
with:
39-
node-version: 16
39+
node-version: 22
4040
cache: 'pnpm'
4141
- name: Install dependencies
4242
run: pnpm install
@@ -54,11 +54,11 @@ jobs:
5454
- name: Install pnpm
5555
uses: pnpm/action-setup@v2
5656
with:
57-
version: 7
57+
version: 9
5858
- name: Install Node.js
5959
uses: actions/setup-node@v3
6060
with:
61-
node-version: 16
61+
node-version: 22
6262
cache: 'pnpm'
6363
- name: Install dependencies
6464
run: pnpm install
@@ -71,7 +71,7 @@ jobs:
7171
- name: Checkout the repository
7272
uses: actions/checkout@v3
7373
- name: Check editorconfig
74-
uses: editorconfig-checker/action-editorconfig-checker@v1
74+
uses: editorconfig-checker/action-editorconfig-checker@main
7575
website:
7676
runs-on: ubuntu-latest
7777
name: website
@@ -81,11 +81,11 @@ jobs:
8181
- name: Install pnpm
8282
uses: pnpm/action-setup@v2
8383
with:
84-
version: 7
84+
version: 9
8585
- name: Install Node.js
8686
uses: actions/setup-node@v3
8787
with:
88-
node-version: 16
88+
node-version: 22
8989
cache: 'pnpm'
9090
- name: Install dependencies
9191
run: pnpm install

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
- name: Install pnpm
1515
uses: pnpm/action-setup@v2
1616
with:
17-
version: 7
17+
version: 9
1818
- name: Install Node.js
1919
uses: actions/setup-node@v3
2020
with:
21-
node-version: 16
21+
node-version: 22
2222
cache: 'pnpm'
2323
- name: Install dependencies
2424
run: pnpm install

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
- name: Install pnpm
1313
uses: pnpm/action-setup@v2
1414
with:
15-
version: 7
15+
version: 9
1616
- name: Install Node.js
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 22
2020
cache: 'pnpm'
2121
registry-url: 'https://registry.npmjs.org'
2222
- name: Install dependencies

.nvmrc

-1
This file was deleted.

.tool-versions

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nodejs 22.4.1
2+
pnpm 9.9.0

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@
8686
"@types/testing-library__jest-dom": "^5.14.5",
8787
"@typescript-eslint/eslint-plugin": "^5.0.0",
8888
"@typescript-eslint/parser": "^5.0.0",
89-
"@vitejs/plugin-react": "^3.0.0",
90-
"@vitest/coverage-c8": "^0.27.0",
89+
"@vitejs/plugin-react": "^4.3.4",
90+
"@vitest/coverage-v8": "^2.1.8",
9191
"browserslist": "^4.17.3",
9292
"chart.js": "^4.1.1",
9393
"chartjs-adapter-date-fns": "^3.0.0",
@@ -107,7 +107,7 @@
107107
"eslint-plugin-promise": "^5.1.0",
108108
"eslint-plugin-react": "^7.17.0",
109109
"faker": "^5.5.3",
110-
"jsdom": "^21.0.0",
110+
"happy-dom": "^16.1.0",
111111
"nano-staged": "^0.8.0",
112112
"prettier": "^2.0.4",
113113
"react": "^18.0.0",
@@ -121,9 +121,9 @@
121121
"standard-version": "^9.3.1",
122122
"tsd": "^0.25.0",
123123
"typescript": "^4.9.4",
124-
"vite": "^4.0.0",
125-
"vitest": "^0.27.0",
126-
"vitest-canvas-mock": "^0.2.1"
124+
"vite": "^6.0.6",
125+
"vitest": "^2.1.8",
126+
"vitest-canvas-mock": "^0.3.3"
127127
},
128128
"tsd": {
129129
"directory": "./test",

0 commit comments

Comments
 (0)