Skip to content

Commit

Permalink
build: add Node 16 and 17 to the CI matrix
Browse files Browse the repository at this point in the history
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 often introduces bugs, which are later fixed by Node itself.

Fixes karma-runner#3730, fixes karma-runner#3728
Closes karma-runner#3729
  • Loading branch information
devoto13 committed Nov 23, 2021
1 parent b8eafe9 commit 850d2cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
cache: npm
- run: npm ci
- run: npm run commitlint -- --from `git merge-base origin/master $GITHUB_SHA`
Expand All @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 10, 12 ]
node: [10, 12, 14, 17]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand All @@ -53,7 +53,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
node: [10, 12, 14]
node: [10, 12, 14, 16, 17]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down
2 changes: 1 addition & 1 deletion docs/intro/01-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Karma runs on [Node.js] and is available as an [npm] package.
On Mac or Linux we recommend using [NVM](https://github.com/creationix/nvm). On Windows, download Node.js
from [the official site](https://nodejs.org/) or use the [NVM PowerShell Module](https://www.powershellgallery.com/packages/nvm).

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

## Installing Karma and plugins

Expand Down

0 comments on commit 850d2cd

Please sign in to comment.