Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 16, 2025

Applied changes from PR #16310 to resolve Node.js matrix build failures.

Changes

  • Made --no-experimental-strip-types flag conditional in workflow, only applying to Node 22.x
  • Node 20.x runs without the flag, avoiding compatibility issues
NODE_OPTIONS: --max_old_space_size=4096 ${{ matrix.node-version == '22.x' && '--no-experimental-strip-types' || '' }}

The flag is specific to Node 22.x's experimental TypeScript support and causes issues when applied to Node 20.x in the matrix build.


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

Copilot AI changed the title [WIP] Fix CI to resolve matrix run node version fix(ci): make --no-experimental-strip-types conditional for Node 22.x Dec 16, 2025
Copilot AI requested a review from Lipata December 16, 2025 12:54
@Lipata Lipata marked this pull request as ready for review December 16, 2025 13:00
@Lipata Lipata merged commit a63ca16 into sstoychev/rollback-node-version-change Dec 16, 2025
@Lipata Lipata deleted the copilot/sub-pr-16633 branch December 16, 2025 13:02
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