7
7
lint :
8
8
name : Lint
9
9
runs-on : ubuntu-latest
10
+ strategy :
11
+ matrix :
12
+ node-version : [ 22 ]
10
13
timeout-minutes : 5
11
14
12
15
steps :
13
16
- name : Checkout
14
17
uses : actions/checkout@v4
15
18
16
- - name : Install Node.js
17
- uses : actions/setup-node@v3
19
+ - name : Install Node.js ${{ matrix.node-version }}
20
+ uses : actions/setup-node@v4
18
21
with :
19
- node-version : 18.x
22
+ node-version : ${{ matrix.node-version }}
23
+ cache : ' pnpm'
20
24
21
- - uses : pnpm/action-setup@v2
25
+ - uses : pnpm/action-setup@v4
22
26
name : Install pnpm
23
27
with :
24
- version : 8
28
+ version : 9
25
29
run_install : true
26
30
27
31
- name : Lint code
@@ -42,18 +46,19 @@ jobs:
42
46
timeout-minutes : 5
43
47
44
48
steps :
45
- - name : Clone repository
49
+ - name : Checkout
46
50
uses : actions/checkout@v4
47
51
48
- - name : Install Node.js
49
- uses : actions/setup-node@v3
52
+ - name : Install Node.js ${{ matrix.node-version }}
53
+ uses : actions/setup-node@v4
50
54
with :
51
- node-version : 18.x
55
+ node-version : ${{ matrix.node-version }}
56
+ cache : ' pnpm'
52
57
53
- - uses : pnpm/action-setup@v2
58
+ - uses : pnpm/action-setup@v4
54
59
name : Install pnpm
55
60
with :
56
- version : 8
61
+ version : 9
57
62
run_install : true
58
63
59
64
- name : Build
@@ -64,18 +69,19 @@ jobs:
64
69
runs-on : ubuntu-latest
65
70
timeout-minutes : 10
66
71
steps :
67
- - name : Clone repository
72
+ - name : Checkout
68
73
uses : actions/checkout@v4
69
74
70
- - name : Install Node.js
71
- uses : actions/setup-node@v3
75
+ - name : Install Node.js ${{ matrix.node-version }}
76
+ uses : actions/setup-node@v4
72
77
with :
73
- node-version : 18.x
78
+ node-version : ${{ matrix.node-version }}
79
+ cache : ' pnpm'
74
80
75
- - uses : pnpm/action-setup@v2
81
+ - uses : pnpm/action-setup@v4
76
82
name : Install pnpm
77
83
with :
78
- version : 8
84
+ version : 9
79
85
run_install : true
80
86
81
87
- name : Build
0 commit comments