Skip to content

Move action runtime to Node.js 24#35

Merged
rumblefrog merged 4 commits into
masterfrom
copilot/fix-nodejs-deprecation-warning
May 21, 2026
Merged

Move action runtime to Node.js 24#35
rumblefrog merged 4 commits into
masterfrom
copilot/fix-nodejs-deprecation-warning

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 21, 2026

The action emits a deprecation warning because it runs on Node.js 20. This change updates the runtime to the current supported Node.js version.

  • Action runtime
    • Switch the action metadata to Node.js 24.
runs:
  using: 'node24'
  main: 'lib/index.js'

Copilot AI linked an issue May 21, 2026 that may be closed by this pull request
Copilot AI and others added 2 commits May 21, 2026 23:11
Agent-Logs-Url: https://github.com/rumblefrog/setup-sp/sessions/6fb92d07-aa25-4c80-8251-8fb6569bd420

Co-authored-by: rumblefrog <6960234+rumblefrog@users.noreply.github.com>
Agent-Logs-Url: https://github.com/rumblefrog/setup-sp/sessions/6fb92d07-aa25-4c80-8251-8fb6569bd420

Co-authored-by: rumblefrog <6960234+rumblefrog@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix Node.js deprecation warning for actions Move action runtime to Node.js 22 May 21, 2026
Copilot AI requested a review from rumblefrog May 21, 2026 23:12
@rumblefrog rumblefrog marked this pull request as ready for review May 21, 2026 23:47
@rumblefrog
Copy link
Copy Markdown
Owner

@copilot

Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node22' is not supported, use 'docker', 'node12', 'node16', 'node20' or 'node24' instead.')
at GitHub.Runner.Worker.ActionManifestManagerLegacy.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
at GitHub.Runner.Worker.ActionManifestManagerLegacy.Load(IExecutionContext executionContext, String manifestFile)
Error: Failed to load /home/runner/work/setup-sp/setup-sp/./action.yml

Agent-Logs-Url: https://github.com/rumblefrog/setup-sp/sessions/bd6edfb2-c001-4e2c-b783-7899d1977c67

Co-authored-by: rumblefrog <6960234+rumblefrog@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 21, 2026

@copilot

Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node22' is not supported, use 'docker', 'node12', 'node16', 'node20...

Updated action metadata to use the supported node24 runtime; commit 2deb360 addresses the runner error.

Copilot AI changed the title Move action runtime to Node.js 22 Move action runtime to Node.js 24 May 21, 2026
@rumblefrog rumblefrog merged commit 30dcccf into master May 21, 2026
1 check passed
@rumblefrog rumblefrog deleted the copilot/fix-nodejs-deprecation-warning branch May 21, 2026 23:53
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.

NodeJS deprecation warning

2 participants