Upgrade setup-node to version 4 in the GitHub Actions workflows

This major version mainly involves not using Node.js 16 internally
anymore, which will be end of life on September 11th. This prevents the
workflows from using an unsupported version of Node.js as well as
deprecation warnings getting printed in the workflow logs.

For more information please refer to
https://github.com/actions/setup-node/releases/tag/v4.0.0 and
https://github.com/actions/setup-node/issues/850.
This commit is contained in:
Tim van der Meij 2023-10-28 21:02:51 +02:00
parent 973cbb000b
commit 6dff90ac1f
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ jobs:
fetch-depth: 0
- name: Use Node.js 18 LTS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'

View File

@ -18,7 +18,7 @@ jobs:
fetch-depth: 0
- name: Use Node.js 18 LTS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'