Skip to content

Fix Node.js 20 action deprecation warnings across all workflows - #10

Merged
insane66613 merged 3 commits into
mainfrom
copilot/update-release-workflow
Mar 12, 2026
Merged

Fix Node.js 20 action deprecation warnings across all workflows#10
insane66613 merged 3 commits into
mainfrom
copilot/update-release-workflow

Conversation

Copilot AI commented Mar 12, 2026

Copy link
Copy Markdown

GitHub is deprecating Node.js 20 actions runners (forced migration to Node.js 24 on June 2, 2026). All five flagged actions needed remediation.

Priority*

  • High: This PR needs to be merged first, before other tasks.
  • Medium: This PR should be merged quickly to prevent conflicts due to common changes. (default)
  • Low: This PR does not affect other tasks, so it can be merged later.

Purpose of the PR*

Eliminate Node.js 20 action deprecation warnings and ensure workflows remain functional after the June 2026 forced Node.js 24 migration.

Changes*

Actions upgraded to node24-native versions (across release.yml, build-zip.yml, e2e.yml, prettier.yml, greetings.yml):

Action Before After
actions/checkout @v4 (node20) @v6 (node24)
actions/setup-node @v4 (node20) @v6 (node24)
actions/upload-artifact @v4 (node20) @v7 (node24)
actions/first-interaction @v1 (node20) @v3 (node24)

Actions without a node24 release yetpnpm/action-setup@v4 and softprops/action-gh-release@v2 both still ship using: node20. Added FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true at the job level in every job that uses them:

jobs:
  release:
    runs-on: ubuntu-latest
    env:
      FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true  # covers pnpm/action-setup + action-gh-release

Affected jobs: release (release.yml), build (build-zip.yml), chrome + firefox (e2e.yml).

greetings.yml: Updated first-interaction input names from hyphenated to underscored (repo_token, issue_message, pr_message) to match the v3 action API.

release.yml: Also added a version-sync step that strips the v prefix from the triggering tag and runs bash-scripts/update_version.sh before the build, so all package.json files are stamped with the release version automatically.

How to check the feature

Trigger the release workflow (or any other workflow) and confirm no "Node.js 20 actions are deprecated" warnings appear in the job logs.

Reference


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

…ctions to node24

Co-authored-by: insane66613 <8126035+insane66613@users.noreply.github.com>
Copilot AI changed the title [WIP] Update the release workflow to modify code files for versioning Update release workflow: auto-update version in code files and upgrade GitHub Actions to Node.js 24 Mar 12, 2026
Copilot AI requested a review from insane66613 March 12, 2026 22:47
…props/action-gh-release

Co-authored-by: insane66613 <8126035+insane66613@users.noreply.github.com>
Copilot AI changed the title Update release workflow: auto-update version in code files and upgrade GitHub Actions to Node.js 24 Fix Node.js 20 action deprecation warnings across all workflows Mar 12, 2026
@insane66613
insane66613 marked this pull request as ready for review March 12, 2026 23:25
@insane66613
insane66613 merged commit 54e10ac into main Mar 12, 2026
1 check 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