From 850d2cd3473efa52fb488dfdc54b7a779c57f901 Mon Sep 17 00:00:00 2001 From: Yaroslav Admin Date: Tue, 23 Nov 2021 22:09:10 +0100 Subject: [PATCH] build: add Node 16 and 17 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 often introduces bugs, which are later fixed by Node itself. Fixes #3730, fixes #3728 Closes #3729 --- .github/workflows/test.yml | 6 +++--- docs/intro/01-installation.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47e0882ae..6ffd52f68 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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` @@ -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 @@ -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 diff --git a/docs/intro/01-installation.md b/docs/intro/01-installation.md index a9ff25145..e82af9c05 100644 --- a/docs/intro/01-installation.md +++ b/docs/intro/01-installation.md @@ -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