Skip to content
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

NodeJS versions in GitHub actions #53

Merged
merged 4 commits into from
Jul 21, 2023
Merged

NodeJS versions in GitHub actions #53

merged 4 commits into from
Jul 21, 2023

Conversation

o-lukas
Copy link
Contributor

@o-lukas o-lukas commented Mar 28, 2023

♻️ Current situation

For verification of homebridge plugin one must support the node LTS versions 14.x, 16.x and 18.x (see requirements). The GitHub actions template contains versions 12.x, 13.x, 14.x, 15.x, 16.x but not 18.x.

💡 Proposed solution

Version 18.x should be added to the actions as well.
Maybe 12.x, 13.x and 15.x could be removed as they are not mandatory?

⚙️ Release Notes

  • removed workflows for Node.js versions 12.x, 13.x and 15.x
  • added workflow for Node.js version 18.x

➕ Additional Information

See existing issue.

Testing

Reviewer Nudging

@o-lukas o-lukas changed the title 49 node js versions NodeJS versions in GitHub actions Mar 28, 2023
@cclauss
Copy link
Contributor

cclauss commented May 20, 2023

@@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
# the Node.js versions to build on
node-version: [12.x, 13.x, 14.x, 15.x, 16.x]
node-version: [14.x, 15.x, 16.x, 18.x]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: [14.x, 15.x, 16.x, 18.x]
node-version: [16.x, 18.x, 20.x]

README.md Outdated
@@ -24,7 +24,7 @@ Click the link below to create a new GitHub Repository using this template, or c

## Setup Development Environment

To develop Homebridge plugins you must have Node.js 12 or later installed, and a modern code editor such as [VS Code](https://code.visualstudio.com/). This plugin template uses [TypeScript](https://www.typescriptlang.org/) to make development easier and comes with pre-configured settings for [VS Code](https://code.visualstudio.com/) and ESLint. If you are using VS Code install these extensions:
To develop Homebridge plugins you must have Node.js 14 or later installed, and a modern code editor such as [VS Code](https://code.visualstudio.com/). This plugin template uses [TypeScript](https://www.typescriptlang.org/) to make development easier and comes with pre-configured settings for [VS Code](https://code.visualstudio.com/) and ESLint. If you are using VS Code install these extensions:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To develop Homebridge plugins you must have Node.js 14 or later installed, and a modern code editor such as [VS Code](https://code.visualstudio.com/). This plugin template uses [TypeScript](https://www.typescriptlang.org/) to make development easier and comes with pre-configured settings for [VS Code](https://code.visualstudio.com/) and ESLint. If you are using VS Code install these extensions:
To develop Homebridge plugins you must have Node.js 16 or later installed, and a modern code editor such as [VS Code](https://code.visualstudio.com/). This plugin template uses [TypeScript](https://www.typescriptlang.org/) to make development easier and comes with pre-configured settings for [VS Code](https://code.visualstudio.com/) and ESLint. If you are using VS Code install these extensions:

@o-lukas
Copy link
Contributor Author

o-lukas commented Jun 12, 2023

Thanks for your suggestions @cclauss. I added them with commit 7a4465f.

@bwp91 bwp91 merged commit f043a6e into homebridge:main Jul 21, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants