Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Aug 12, 2025

This PR updates the GitHub Action runtime from Node16 to Node24 to align with GitHub Actions platform migration requirements, and adds explicit Node.js version setup to all workflows to ensure consistent execution.

Changes Made

Runtime Update:

  • Updated action.yml to use node24 runtime instead of node16

Workflow Hardening:

  • Added actions/[email protected] with node-version: '24' to all workflows that build the project:
    • .github/workflows/build.yml
    • .github/workflows/testing.yml
    • .github/workflows/publishing.yml
    • .github/workflows/codeql.yml
  • Added npm caching to improve workflow performance

Why This Matters

The explicit Node.js setup protects against future changes to GitHub Actions runner defaults. Without this, workflows could unexpectedly break if GitHub changes the default Node.js version on runners, ensuring long-term stability and predictable builds.

Verification

  • ✅ Build pipeline passes with Node24 configuration
  • ✅ Action bundles successfully (394.3kb bundle generated)
  • ✅ All formatting and linting checks pass
  • ✅ Dependencies are already Node24 compatible (@types/node: ^24.0.3)
  • ✅ No breaking changes to existing functionality
  • ✅ Workflows explicitly specify Node.js 24 for consistent execution

The action is now ready for the GitHub Actions platform migration to Node24 with robust workflow configuration.

Fixes #419.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copy link
Contributor Author

Copilot AI commented Aug 12, 2025

@rajbos 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Copilot AI changed the title [WIP] Update to Node24 Update GitHub Action to Node24 runtime Aug 12, 2025
Copilot finished work on behalf of rajbos August 12, 2025 21:55
Copilot AI requested a review from rajbos August 12, 2025 21:55
@rajbos
Copy link
Collaborator

rajbos commented Aug 12, 2025

@copilot add running in a specific version of Node to the workflow(s) so that we know it works with the right version, even if the defaults change.

Copy link
Contributor Author

Copilot AI commented Aug 12, 2025

@copilot add running in a specific version of Node to the workflow(s) so that we know it works with the right version, even if the defaults change.

Added explicit Node.js 24 setup to all workflows that build the project. This includes:

  • build.yml - Build job
  • testing.yml - Testing build job
  • publishing.yml - Both build and publish jobs
  • codeql.yml - Analysis job

All workflows now use actions/[email protected] with node-version: '24' and npm caching for consistent execution and protection against future runner default changes.

Commit: 5e0e152

Copilot AI changed the title Update GitHub Action to Node24 runtime Update GitHub Action to Node24 runtime and add explicit Node.js setup to workflows Aug 12, 2025
Copilot finished work on behalf of rajbos August 12, 2025 22:47
Copy link
Collaborator

@rajbos rajbos left a comment

Choose a reason for hiding this comment

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

LGTM

@rajbos rajbos marked this pull request as ready for review August 17, 2025 20:19
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.

Update to Node24

2 participants