File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Test
1+ name : CI
22
33on :
44 push :
55 branches :
66 - main
7-
87 pull_request :
98 branches :
109 - main
1110
1211jobs :
13- test :
14- name : node-${{ matrix.node-version }}, ${{ matrix.os }}
15- runs-on : ${{ matrix.os }}
16-
12+ ci :
1713 strategy :
1814 matrix :
19- node-version : [16, 18 ]
15+ node-version : [20, 22 ]
2016 os : [ubuntu-latest, windows-latest]
2117 fail-fast : false
2218
19+ name : node ${{ matrix.node-version }}, ${{ matrix.os }}
20+ runs-on : ${{ matrix.os }}
21+
2322 steps :
24- - name : Checkout repository
25- uses : actions/checkout@v3
23+ - name : Checkout
24+ uses : actions/checkout@v4
2625
2726 - name : Setup pnpm
28- uses : pnpm/action-setup@v2
27+ uses : pnpm/action-setup@v4
2928
30- - name : Setup Node.js ${{ matrix.node-version }}
31- uses : actions/setup-node@v3
29+ - name : Setup node ${{ matrix.node-version }}
30+ uses : actions/setup-node@v4
3231 with :
3332 node-version : ${{ matrix.node-version }}
34- registry-url : ' https://registry.npmjs.org'
3533 cache : pnpm
3634
3735 - name : Install
4038 - name : Test
4139 run : pnpm run test
4240
41+ - name : Check
42+ run : pnpm run check
43+
4344 - name : Build
4445 run : pnpm run build
Original file line number Diff line number Diff line change @@ -13,19 +13,16 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - name : Checkout repository
17- uses : actions/checkout@v3
18- with :
19- fetch-depth : 0
16+ - name : Checkout
17+ uses : actions/checkout@v4
2018
2119 - name : Setup pnpm
22- uses : pnpm/action-setup@v2
20+ uses : pnpm/action-setup@v4
2321
24- - name : Setup Node.js 18
25- uses : actions/setup-node@v3
22+ - name : Setup node
23+ uses : actions/setup-node@v4
2624 with :
27- node-version : 18
28- registry-url : ' https://registry.npmjs.org'
25+ node-version : 22
2926 cache : pnpm
3027
3128 - name : Install
3431 - name : Test
3532 run : pnpm run test
3633
34+ - name : Check
35+ run : pnpm run check
36+
3737 - name : Build
3838 run : pnpm run build
3939
Original file line number Diff line number Diff line change 1+ v22.14.0
You can’t perform that action at this time.
0 commit comments