File tree Expand file tree Collapse file tree 1 file changed +18
-17
lines changed
Expand file tree Collapse file tree 1 file changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -2,29 +2,30 @@ name: Unit tests
22on :
33 push :
44 branches :
5- - main
6- - ca-v0.10.0
5+ - main
76 pull_request :
87 branches :
9- - main
10- - ca-v0.10.0
8+ - main
119permissions :
12- contents : read
10+ contents : read
1311jobs :
1412 build :
1513 runs-on : ubuntu-latest
14+ # We officially support LTS versions of nodejs still inside
15+ # their security support window
16+ # https://endoflife.date/nodejs
1617 strategy :
1718 matrix :
18- node-version : [14 .x, 16 .x, 18 .x]
19+ node-version : [18 .x, 20 .x, 22 .x]
1920 steps :
20- - uses : actions/checkout@v3
21- - name : Use Node.js ${{ matrix.node-version }}
22- uses : actions/setup-node@v3
23- with :
24- node-version : ${{ matrix.node-version }}
25- - name : Install
26- run : npm ci
27- - name : Verify lint
28- run : npm run lint
29- - name : Run unit tests
30- run : npm test
21+ - uses : actions/checkout@v4
22+ - name : Use Node.js ${{ matrix.node-version }}
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : ${{ matrix.node-version }}
26+ - name : Install
27+ run : npm ci
28+ - name : Verify lint
29+ run : npm run lint
30+ - name : Run unit tests
31+ run : npm test
You can’t perform that action at this time.
0 commit comments