Resolve build workflow failure by aligning TypeScript with Astro peer constraints - #384
Merged
Merged
Conversation
Co-authored-by: BeyondMagic <51831435+BeyondMagic@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job 'build'
Resolve build workflow failure by aligning TypeScript with Astro peer constraints
Aug 7, 2026
BeyondMagic
approved these changes
Aug 7, 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.
The
buildGitHub Actions job failed atnpm cidue to an unsatisfied peer dependency:@astrojs/check@0.9.10does not support TypeScript 7. This change restores install/build compatibility by pinning TypeScript to a supported major.Root cause addressed
@astrojs/check@0.9.10requirestypescript: ^5 || ^6, while the repo declaredtypescript: ^7.0.2.Dependency alignment
devDependencies.typescriptfrom^7.0.2to^6.0.3inpackage.json.package-lock.jsonto capture the resolved graph under the supported TypeScript major.Scope
{ "devDependencies": { "@astrojs/check": "^0.9.10", "typescript": "^6.0.3" } }