File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,15 +48,18 @@ jobs:
4848 - run : npm run typecheck
4949
5050 test :
51- name : Unit Tests
51+ name : Unit Tests (Node ${{ matrix.node-version }})
5252 runs-on : ubuntu-latest
53+ strategy :
54+ matrix :
55+ node-version : [20, 22]
5356 steps :
5457 - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
5558
5659 - name : Setup Node.js
5760 uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
5861 with :
59- node-version : 22
62+ node-version : ${{ matrix.node-version }}
6063 cache : ' npm'
6164
6265 - run : npm ci
@@ -65,15 +68,18 @@ jobs:
6568 CI : true
6669
6770 build :
68- name : Build
71+ name : Build (Node ${{ matrix.node-version }})
6972 runs-on : ubuntu-latest
73+ strategy :
74+ matrix :
75+ node-version : [20, 22]
7076 steps :
7177 - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
7278
7379 - name : Setup Node.js
7480 uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
7581 with :
76- node-version : 22
82+ node-version : ${{ matrix.node-version }}
7783 cache : ' npm'
7884
7985 - run : npm ci
You can’t perform that action at this time.
0 commit comments