Skip to content

Fix Build PHP CLI Binaries GitHub Actions workflow - #4419

Merged
fredrikekelund merged 2 commits into
trunkfrom
stu-2188-fix-build-php-binaries-action
Aug 4, 2026
Merged

Fix Build PHP CLI Binaries GitHub Actions workflow#4419
fredrikekelund merged 2 commits into
trunkfrom
stu-2188-fix-build-php-binaries-action

Conversation

@fredrikekelund

Copy link
Copy Markdown
Contributor

Related issues

How AI was used in this PR

Claude was used to investigate and implement the solution, which iterative directions from me on the desired end state.

Proposed Changes

#4021 introduced a regression where the Build PHP CLI Binaries GitHub Actions workflow started failing because there are no node_modules available in the CI runner context. This PR fixes the problem by:

  • Setting up the correct Node version
  • Running npm ci

Testing Instructions

Code review is sufficient

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

To fix the issue where Node could not find the yargs module:

- Setup the correct Node version
- Run `npm ci`
@fredrikekelund
fredrikekelund requested review from a team and bcotrim August 3, 2026 15:00
@fredrikekelund fredrikekelund self-assigned this Aug 3, 2026
@fredrikekelund
fredrikekelund requested a review from a team as a code owner August 3, 2026 15:00

@bcotrim bcotrim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 👍

Note: I haven't confirmed the fix, but the code and fix makes sense

@fredrikekelund

fredrikekelund commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

I've triggered a proper PHP 8.4.24 build from this branch to verify that it works as expected. Will land this PR when that finishes successfully

@fredrikekelund

Copy link
Copy Markdown
Contributor Author

This run succeeded, so I'm merging this PR

@fredrikekelund
fredrikekelund merged commit 70d69d9 into trunk Aug 4, 2026
19 checks passed
@fredrikekelund
fredrikekelund deleted the stu-2188-fix-build-php-binaries-action branch August 4, 2026 15:13
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