Skip to content

Commit 4146166

Browse files
committed
Update supported versions of nodejs in tests
1 parent 32047da commit 4146166

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

.github/workflows/unittests.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,30 @@ name: Unit tests
22
on:
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
119
permissions:
12-
contents: read
10+
contents: read
1311
jobs:
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

0 commit comments

Comments
 (0)