fix(ci): install Node.js before element-templates-cli step in RELEASE#7314
Merged
Conversation
…in RELEASE The release setup job invokes `npm install --global element-templates-cli` but the runner image no longer ships Node/npm by default, so the step fails with `npm: command not found` (exit 127) — see release-8.8.13 run 26224800164. Add an `actions/setup-node` step before the npm install so that `npm` is available on PATH. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
johnBgood
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The release workflow
setupjob runsnpm install --global element-templates-cli@...but the runner image no longer ships Node/npm by default. Without an explicitactions/setup-nodestep, this fails withnpm: command not found(exit 127).This was the root cause of the failed
release-8.8.13run: https://github.com/camunda/connectors/actions/runs/26224800164mainalready has this step but it was never backported tostable/8.8. PR #7312 only addscache: 'npm'to existing setup-node steps onmainand does not address the missing step on stable branches.This PR adds the missing
Install Node.jsstep beforeInstall element templates CLIin thesetupjob, matching thesetup-node@v5version already used elsewhere on this branch.Sibling PRs follow for
stable/8.7andstable/8.9.Test plan
release-8.8.13workflow after merge and verify thesetup → Install element templates CLIstep succeeds.🤖 Generated with Claude Code