Skip to content

ci: run JavaScript actions on Node 24#169

Merged
jnsgruk merged 1 commit into
canonical:mainfrom
clwsgruk:ci/node24-actions-runtime
Jun 15, 2026
Merged

ci: run JavaScript actions on Node 24#169
jnsgruk merged 1 commit into
canonical:mainfrom
clwsgruk:ci/node24-actions-runtime

Conversation

@clwsgruk

@clwsgruk clwsgruk commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update JavaScript action metadata from node20 to node24 for all bundled actions.
  • Update the repository CI setup-node version to Node.js 24 so tests/builds exercise the runtime GitHub will force from 2026-06-16.

Context

GitHub Actions now warns that Node.js 20 JavaScript actions are deprecated and will be forced to Node.js 24 by default on 2026-06-16, then removed from runners on 2026-09-16. This affects downstream users of canonical/charming-actions/check-libraries@2.7.0 and the other JavaScript actions in this repository.

Verification

  • GITHUB_REPOSITORY=canonical/charming-actions mise exec node@24 -- npm run test
  • mise exec node@24 -- npm run format
  • mise exec node@24 -- npm run lint
  • mise exec node@24 -- npm run build

@jnsgruk jnsgruk 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.

Looks good. Simple metadata change to actions yamls only.

@jnsgruk jnsgruk requested a review from lucabello June 12, 2026 13:17
@jnsgruk jnsgruk merged commit 9180b22 into canonical:main Jun 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants