The contributor guide document's the project's dependency on Node.js/npm and provides a link to facilitate the installation for contributors who don't have it already.
That link recently stopped working. It seems that the nodejs.dev website now requires the locale component in URL paths. Ideally, localization should be avoided in documentation links and the target website redirect the generalized URL to the localized page according to the visitor's locale configuration. Unfortunately this is no longer supported by the Node.js website.
In order to fix it, the link is changed to using a localized URL, with English selected due to being the project's base language.
A task and GitHub Actions workflow are provided here for checking the license types of npm-managed project dependencies.
On every push and pull request that affects relevant files, the CI workflow will check:
- If the dependency licenses cache is up to date
- If any of the project's dependencies have an unapproved license type.
Approval can be based on:
- Universally allowed license type
- Individual dependency
The test runner CI workflow was using Node.js 12.x, which reaches EOL 2022-04-30.
Other workflows did not specify a Node.js version, meaning they used whatever was installed on the GitHub Actions runner.
It will be best to define a specific version series for use and use that throughout the infrastructure and development.
Change project name to "arduino/setup-task"
The Task documentation consistently refers to the tool as "Task". Taskfile is the term used for Task's configuration file.
This action is setting up the Task tool, not setting up the Task configuration file, so "arduino/setup-task" is more
appropriate than "arduino/setup-taskfile".
The previous development policy was to only repackage on each release. This prevented contributors from doing casual beta
testing by simply referencing the action as `arduino/setup-taskfile@main` in a workflow.