Skip to content

Bump Node version to 18 #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

latchdevel
Copy link
Contributor

What

This PR updates the actions using Node 16 to Node 18

Why

GitHub is deprecating Node 16 for GitHub Actions. Therefore currently workflow runs using this action show the warning:
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/[email protected].

More information is found on GitHub Actions: Transitioning from Node 16 to Node 20

But the test suite uses the nock library to mock and expectations of the HTTP server, and it is not yet supported in Node 20. See: nock/nock#2466

Node 18 is in Maintenance LTS until 2025-04-30, so it can be useful, at least for a year.

@CLAassistant
Copy link

CLAassistant commented Apr 21, 2024

CLA assistant check
All committers have signed the CLA.

@latchdevel
Copy link
Contributor Author

Ah!! same error as Node 20!!

@latchdevel latchdevel closed this Apr 21, 2024
@per1234 per1234 added type: enhancement Proposed improvement conclusion: invalid Issue/PR not valid topic: infrastructure Related to project infrastructure labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: invalid Issue/PR not valid topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants