Skip to content

fix(ci): add --legacy-peer-deps to npm ci#4

Merged
dstwn merged 2 commits into
mainfrom
v1.2-php-type-resolution-composer-graph
Jun 21, 2026
Merged

fix(ci): add --legacy-peer-deps to npm ci#4
dstwn merged 2 commits into
mainfrom
v1.2-php-type-resolution-composer-graph

Conversation

@dstwn

@dstwn dstwn commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Summary

npm ci fails on CI with a peer dep conflict between tree-sitter@0.22.4 and tree-sitter-php@0.22.6 (which declares peer tree-sitter@^0.21.1). The mismatch is benign at runtime but npm ci rejects it without --legacy-peer-deps.

Root cause: tree-sitter-php@0.22.6 has an outdated peer dep declaration. The actual code works fine with tree-sitter@0.22.x.

Fix: npm ci --legacy-peer-deps in the Install dependencies step.

Fixes the CI failure visible in run #27912876938.

@dstwn dstwn merged commit 226e134 into main Jun 21, 2026
8 of 9 checks passed
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.

1 participant