Skip to content

Use standard Node.js version in validation workflows #592

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

Merged
merged 1 commit into from
Jun 14, 2025

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Jun 14, 2025

These GitHub Actions workflows use the ajv-cli JSON schema validation tool to validate data files against their JSON schema. ajv-cli is an npm package-based tool.

A standard major version of Node.js, and thus its bundled npm should be used for all development and maintenance operations. Previously, these workflows did not explicitly configure the version of Node.js that should be used in the runner machine, so whatever version happened to be installed in the runner by default was used. That version doesn't necessarily match with the intended version, and the version could change at any moment, so this risked instability in the project infrastructure.

These GitHub Actions workflows use the ajv-cli JSON schema validation tool to validate data files against their JSON
schema. ajv-cli is an npm package-based tool.

A standard major version of Node.js, and thus its bundled npm should be used for all development and maintenance
operations. Previously, these workflows did not explicitly configure the version of Node.js that should be used in the
runner machine, so whatever version happened to be installed in the runner by default was used. That version doesn't
necessarily match with the intended version, and the version could change at any moment, so this risked instability in
the project infrastructure.
@per1234 per1234 self-assigned this Jun 14, 2025
@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: infrastructure Related to project infrastructure labels Jun 14, 2025
@per1234 per1234 merged commit 8c6d50a into arduino:main Jun 14, 2025
20 checks passed
@per1234 per1234 deleted the manage-node branch June 18, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant