Repository navigation
ci: bump GitHub Actions to their latest versions - #752
Merged
Merged
Conversation
|
π This PR is included in version 8.0.1 π The release is available on: Your semantic-release bot π¦π |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
π― Goal
Our workflows still use
actions/checkout@v2,actions/cache@v4andactions/setup-node@v1, which run on deprecated Node.js runtimes (GitHub forces them onto Node 24 and logs a deprecation warning on every run). This moves them to their latest major versions. The same change is on the v7 maintenance branch in #751.π Implementation details
In
workflow.ymlandrelease.yml:actions/checkout@v2@v7actions/cache@v4@v6actions/setup-node@v1@v7Relevant changes in between, none of which need workflow edits here:
checkoutv6+ stores persisted git credentials in a separate file.setup-nodev5+ turns on built-in npm caching only whenpackage.jsonhas apackageManagerfield; this repo has none, so the existingactions/cachestep keeps doing the caching. v7 no longer exports a placeholderNODE_AUTH_TOKEN, which only matters withregistry-url(not used; releases use trusted publishing).π§ͺ Testing
workflow.yml.release.ymlonly runs on a manual dispatch, so the next release (start with a dry run) is its first run on the new versions.