chore: change recommended and CI node version to v20

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-05-09 11:38:02 +02:00
parent 2967e7cd86
commit 23901d1454
9 changed files with 15 additions and 15 deletions

View file

@ -20,7 +20,7 @@ concurrency:
cancel-in-progress: true
env:
NODEJS_VERSION: 18
NODEJS_VERSION: 20
HEAD_COMMIT_HASH: "${{ !!github.event.pull_request && github.event.pull_request.head.sha || github.sha }}"
jobs:

View file

@ -11,7 +11,7 @@ on:
env:
NETLIFY_VERSION: 13.2.2
NETLIFY_NEXTJS_PLUGIN_VERSION: 4.33.0
NODEJS_VERSION: 18
NODEJS_VERSION: 20
defaults:
run:

View file

@ -29,7 +29,7 @@ permissions:
env:
NETLIFY_VERSION: 13.2.2
NETLIFY_NEXTJS_PLUGIN_VERSION: 4.33.0
NODEJS_VERSION: 18
NODEJS_VERSION: 20
defaults:
run:

View file

@ -11,7 +11,7 @@ on:
branches: [ develop ]
env:
NODEJS_VERSION: 18
NODEJS_VERSION: 20
jobs:
lint:

View file

@ -19,9 +19,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '16', '18' ] # Are you changing this? Don't forget to update the min. and recommended node version in getting-started.md!
node: [ '16', '18', '20' ] # Are you changing this? Don't forget to update the min. and recommended node version in getting-started.md!
include:
- node: '18'
- node: '20'
coverage: true
name: Test and build with NodeJS ${{ matrix.node }}
steps: