Skip to content

Commit 60f4f79

Browse files
devoto13Jonathan Ginsburg
authored and
Jonathan Ginsburg
committed
build: add Node 16 and 18 to the CI matrix
Update documentation, so that it does not become outdated whenever a new version of Node is released. Test on the current version of Node, so we can spot problems early, but don't claim to support it as current release line sometimes introduces bugs, which are later fixed by Node itself. Fixes #3728
1 parent 6ff5aaf commit 60f4f79

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fetch-depth: 0
1616
- uses: actions/setup-node@v2
1717
with:
18-
node-version: 14
18+
node-version: 16
1919
cache: npm
2020
- run: npm ci
2121
- run: |

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
token: ${{ env.GITHUB_TOKEN }}
2424
- uses: actions/setup-node@v2
2525
with:
26-
node-version: 14
26+
node-version: 16
2727
cache: npm
2828
- run: npm ci
2929
- run: npm run lint

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121
- uses: actions/setup-node@v2
2222
with:
23-
node-version: 14
23+
node-version: 16
2424
cache: npm
2525
- run: npm ci
2626
- run: npm run build:check
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
strategy:
3535
matrix:
36-
node: [10, 12]
36+
node: [10, 12, 14, 18]
3737
steps:
3838
- uses: actions/checkout@v2
3939
- uses: actions/setup-node@v2
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: windows-latest
4949
strategy:
5050
matrix:
51-
node: [10, 12, 14]
51+
node: [10, 12, 14, 16, 18]
5252
steps:
5353
- uses: actions/checkout@v2
5454
- uses: actions/setup-node@v2

docs/intro/01-installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Karma runs on [Node.js] and is available as an [npm] package.
55
On Mac or Linux we recommend using [NVM](https://github.com/creationix/nvm). On Windows, download Node.js
66
from [the official site](https://nodejs.org/) or use the [NVM PowerShell Module](https://www.powershellgallery.com/packages/nvm).
77

8-
Note: Karma currently works on Node.js **6.x**, **8.x**, and **10.x**. See [FAQ] for more info.
8+
Karma works on all [LTS releases](https://nodejs.org/en/about/releases/) of Node.js.
99

1010
## Installing Karma and plugins
1111

docs/intro/04-faq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The latest stable version from npm (`npm install karma`). See [versioning] for m
2727

2828

2929
### Which version of Node.js does Karma run with?
30-
Karma works on all active LTS versions of node as specified by the [Node.js Release Working Group](https://github.com/nodejs/Release/blob/master/README.md). The nodejs version numbers are set in the package.json. Older versions of karma work with older versions of nodejs, but are not maintained or updated.
30+
Karma works on all LTS versions of Node.js as specified by the [Node.js Release Working Group](https://github.com/nodejs/Release/blob/master/README.md). The Node.js version numbers are set in the package.json. Older versions of karma work with older versions of Node.js, but are not maintained or updated.
3131

3232
[mailing list]: https://groups.google.com/d/forum/karma-users
3333
[karma-ng-scenario]: https://github.com/karma-runner/karma-ng-scenario

0 commit comments

Comments
 (0)