99jobs :
1010 build :
1111 runs-on : ubuntu-latest
12- strategy :
13- matrix :
14- node-version : [18, 20, 21]
1512
1613 steps :
1714 - name : Checkout repository
2017 - name : Setup Node.js
2118 uses : actions/setup-node@v4
2219 with :
23- node-version : ${{ matrix.node-version }}
20+ node-version : 20
2421
2522 - name : Install dependencies
2623 run : npm ci
@@ -30,17 +27,14 @@ jobs:
3027
3128 lint :
3229 runs-on : ubuntu-latest
33- strategy :
34- matrix :
35- node-version : [18, 20, 21]
3630
3731 steps :
3832 - uses : actions/checkout@v4
3933
4034 - name : Setup Node.js
4135 uses : actions/setup-node@v4
4236 with :
43- node-version : ${{ matrix.node-version }}
37+ node-version : 20
4438
4539 - name : Install dependencies
4640 run : npm ci
@@ -50,17 +44,14 @@ jobs:
5044
5145 format :
5246 runs-on : ubuntu-latest
53- strategy :
54- matrix :
55- node-version : [18, 20, 21]
5647
5748 steps :
5849 - uses : actions/checkout@v4
5950
6051 - name : Setup Node.js
6152 uses : actions/setup-node@v4
6253 with :
63- node-version : ${{ matrix.node-version }}
54+ node-version : 20
6455
6556 - name : Install dependencies
6657 run : npm ci
7768 steps :
7869 - uses : actions/checkout@v4
7970
80- - name : Setup Node.js
71+ - name : Setup Node.js ${{ matrix.node-version }}
8172 uses : actions/setup-node@v4
8273 with :
8374 node-version : ${{ matrix.node-version }}
9485 - name : Upload coverage report
9586 uses : actions/upload-artifact@v4
9687 with :
97- name : coverage-report
88+ name : coverage-report-node${{ matrix.node-version }}-${{ github.run_id }}
9889 path : coverage/
0 commit comments