[Feature] Update action to use node 20 #9
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to Issue #9895
The following changes have been made because GitHub Actions will no longer support Node.js v12, as mentioned by @williamjallen in the linked issue. You can find the relevant information in the blog post referenced in that issue.
action.yml
so that it uses Node.js version'node20'
README.md
to reflect this changetest.yml
matrix node-version array to[20.x]
2.0.0
in package.json to reflect this change, as this is a breaking change, according to the rules of semantic versioning@types/node
version to"^20.8.7"
to match Node.js v20 versionI have conducted a search for other repositories using Node.js v12 and identified the following three repositories, so I have opened other PRs updating Node.js to v20 in them:
Checks:
[x] Have run
npm run lint
andnpm run test
as specified in theREADME.md
P.S. If this PR is accepted, could you please add the "hacktoberfest-accepted" label to it, so that it counts towards my Hacktoberfest contributions?