Update GitHub Actions to address Node.js 20 deprecation#2272
Update GitHub Actions to address Node.js 20 deprecation#2272andyleejordan merged 1 commit intomainfrom
Conversation
- actions/checkout: v4 → v6 (Node.js 24) - actions/setup-dotnet: v4 → v5 (Node.js 24) - actions/upload-artifact: v4 → v5 (Node.js 24) - actions/stale: v9 → v10 (Node.js 24) - lhotari/action-upterm → owenthereal/action-upterm (maintained fork) - purcell/setup-emacs: @master → @v8.0 (pin to tag) Agent-Logs-Url: https://github.com/PowerShell/PowerShellEditorServices/sessions/cd687667-7088-4930-a154-7d87e9c55860 Co-authored-by: andyleejordan <2226434+andyleejordan@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR updates GitHub Actions versions across CI/CD workflows to avoid breakage from the upcoming GitHub-hosted runner deprecation of Node.js 20-based JavaScript actions.
Changes:
- Bumped
actions/checkouttov6andactions/setup-dotnettov5across test workflows. - Bumped
actions/upload-artifacttov5andactions/staletov10. - Replaced
lhotari/action-upterm@v1withowenthereal/action-upterm@v1and pinnedpurcell/setup-emacstov8.0(instead ofmaster).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/ci-test.yml |
Updates checkout/setup-dotnet/upload-artifact versions and switches the upterm action fork. |
.github/workflows/vim-test.yml |
Updates checkout/setup-dotnet versions and updates the commented debug upterm action reference. |
.github/workflows/emacs-test.yml |
Updates checkout/setup-dotnet versions and pins setup-emacs to a versioned release. |
.github/workflows/close-stale-issues.yml |
Updates actions/stale to v10 for issue housekeeping jobs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - name: If debugging, start upterm for interactive pipeline troubleshooting | ||
| if: ${{ runner.debug == 1 }} | ||
| uses: lhotari/action-upterm@v1 | ||
| uses: owenthereal/action-upterm@v1 | ||
| with: | ||
| wait-timeout-minutes: 1 |
There was a problem hiding this comment.
The PR description says owenthereal/action-upterm@v1 is a Node.js 20-based JavaScript action. If that's still true, it won’t actually address the upcoming Node 20 deprecation on GitHub-hosted runners (it may break once Node 20 is removed). Consider switching to an upterm/tmate action release that declares runs.using: node24, or replacing this step with a composite/docker-based alternative that won’t depend on the runner’s Node runtime.
Summary
Updates all GitHub Actions in the CI/CD workflows to newer versions that support Node.js 24, addressing the upcoming Node.js 20 deprecation (EOL April 2026, removed from runners fall 2026).
Changes
actions/checkoutactions/setup-dotnetactions/upload-artifactactions/stalelhotari/action-uptermowenthereal/action-upterm@v1purcell/setup-emacs@master@v8.0rhysd/action-setup-vimWorkflow Files Modified
.github/workflows/ci-test.yml.github/workflows/vim-test.yml.github/workflows/emacs-test.yml.github/workflows/close-stale-issues.yml