File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,15 +43,18 @@ jobs:
4343 - run : npm run typecheck
4444
4545 test :
46- name : Unit Tests
46+ name : Unit Tests (Node ${{ matrix.node-version }})
4747 runs-on : ubuntu-latest
48+ strategy :
49+ matrix :
50+ node-version : [20, 22]
4851 steps :
4952 - uses : actions/checkout@v5
5053
5154 - name : Setup Node.js
5255 uses : actions/setup-node@v5
5356 with :
54- node-version : 22
57+ node-version : ${{ matrix.node-version }}
5558 cache : ' npm'
5659
5760 - run : npm ci
@@ -60,15 +63,18 @@ jobs:
6063 CI : true
6164
6265 build :
63- name : Build
66+ name : Build (Node ${{ matrix.node-version }})
6467 runs-on : ubuntu-latest
68+ strategy :
69+ matrix :
70+ node-version : [20, 22]
6571 steps :
6672 - uses : actions/checkout@v5
6773
6874 - name : Setup Node.js
6975 uses : actions/setup-node@v5
7076 with :
71- node-version : 22
77+ node-version : ${{ matrix.node-version }}
7278 cache : ' npm'
7379
7480 - run : npm ci
You can’t perform that action at this time.
0 commit comments