Skip to content

ci: update actions to node24 - #50373

Merged
jkleinsc merged 2 commits into
mainfrom
update-actions-node24
Mar 20, 2026
Merged

jkleinsc merged 2 commits into
mainfrom
update-actions-node24

Conversation

@jkleinsc

@jkleinsc jkleinsc commented Mar 19, 2026 •

Copy link
Copy Markdown
Member

Description of Change

I noticed the following message in https://github.com/electron/electron/actions/runs/23278735986:

Node.js 20 actions are deprecated. 
The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684, 
actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808, 
nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e. 
Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. 
Please check if updated versions of these actions are available that support Node.js 24. 
To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. 
Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. 
For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

This updates the actions that we can. nick-fields/retry currently doesn't have a release that supports node 24, tracking issue here: nick-fields/retry#162.

Checklist

Release Notes

Notes: none

@jkleinsc
jkleinsc requested a review from a team as a code owner March 19, 2026 14:39
@jkleinsc jkleinsc added target/39-x-y PR should also be added to the "39-x-y" branch. target/40-x-y PR should also be added to the "40-x-y" branch. target/41-x-y PR should also be added to the "41-x-y" branch. target/42-x-y PR should also be added to the "42-x-y" branch. labels Mar 19, 2026

@dsanders11 dsanders11 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this misses the actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 lines in .github/actions/restore-cache-azcopy/action.yml, which are mentioned in the warning message.

@jkleinsc
jkleinsc requested a review from dsanders11 March 20, 2026 15:29
@jkleinsc

Copy link
Copy Markdown
Member Author

ope - @dsanders11 you are right. I missed that. Should be fixed now.

@jkleinsc
jkleinsc merged commit 639d3b9 into main Mar 20, 2026
66 checks passed
@jkleinsc
jkleinsc deleted the update-actions-node24 branch March 20, 2026 19:33
@release-clerk

release-clerk Bot commented Mar 20, 2026

Copy link
Copy Markdown

No Release Notes

@trop

trop Bot commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "41-x-y" cleanly;
you will need to perform this backport manually.

@trop

trop Bot commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "39-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot removed the target/41-x-y PR should also be added to the "41-x-y" branch. label Mar 20, 2026
@trop

trop Bot commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "40-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot added needs-manual-bp/41-x-y needs-manual-bp/39-x-y needs-manual-bp/40-x-y and removed target/39-x-y PR should also be added to the "39-x-y" branch. target/40-x-y PR should also be added to the "40-x-y" branch. labels Mar 20, 2026
@trop trop Bot mentioned this pull request Mar 20, 2026
@trop

trop Bot commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "42-x-y", please check out #50404

@trop trop Bot added in-flight/42-x-y and removed target/42-x-y PR should also be added to the "42-x-y" branch. labels Mar 20, 2026
@trop trop Bot added merged/42-x-y PR was merged to the "42-x-y" branch. and removed in-flight/42-x-y labels Mar 23, 2026
@jkleinsc jkleinsc mentioned this pull request Mar 26, 2026
3 tasks done
jkleinsc added a commit that referenced this pull request Mar 26, 2026
* ci: update actions to node24

* chore: fixup actions/cache to 5.0.4 everywhere

(cherry picked from commit 639d3b9)
@trop

trop Bot commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

@jkleinsc has manually backported this PR to "41-x-y", please check out #50522

jkleinsc added a commit that referenced this pull request Mar 26, 2026
* ci: update actions to node24

* chore: fixup actions/cache to 5.0.4 everywhere

(cherry picked from commit 639d3b9)
@trop

trop Bot commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

@jkleinsc has manually backported this PR to "40-x-y", please check out #50523

jkleinsc added a commit that referenced this pull request Mar 26, 2026
* ci: update actions to node24

* chore: fixup actions/cache to 5.0.4 everywhere

(cherry picked from commit 639d3b9)
@trop

trop Bot commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

@jkleinsc has manually backported this PR to "39-x-y", please check out #50524

codebytere pushed a commit that referenced this pull request Mar 31, 2026
ci: update actions to node24 (#50373)

* ci: update actions to node24

* chore: fixup actions/cache to 5.0.4 everywhere

(cherry picked from commit 639d3b9)
@trop trop Bot added merged/41-x-y PR was merged to the "41-x-y" branch. and removed in-flight/41-x-y labels Mar 31, 2026
codebytere pushed a commit that referenced this pull request Mar 31, 2026
ci: update actions to node24 (#50373)

* ci: update actions to node24

* chore: fixup actions/cache to 5.0.4 everywhere

(cherry picked from commit 639d3b9)
@trop trop Bot added merged/39-x-y PR was merged to the "39-x-y" branch. and removed in-flight/39-x-y labels Mar 31, 2026
PKRoma pushed a commit to PKRoma/electron that referenced this pull request Mar 31, 2026
ci: update actions to node24 (electron#50373)

* ci: update actions to node24

* chore: fixup actions/cache to 5.0.4 everywhere

(cherry picked from commit 639d3b9)
dsanders11 pushed a commit that referenced this pull request Apr 1, 2026
ci: update actions to node24 (#50373)

* ci: update actions to node24

* chore: fixup actions/cache to 5.0.4 everywhere

(cherry picked from commit 639d3b9)
@trop trop Bot added merged/40-x-y PR was merged to the "40-x-y" branch. and removed in-flight/40-x-y labels Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged/39-x-y PR was merged to the "39-x-y" branch. merged/40-x-y PR was merged to the "40-x-y" branch. merged/41-x-y PR was merged to the "41-x-y" branch. merged/42-x-y PR was merged to the "42-x-y" branch. semver/none

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants