Skip to content

Resolve build workflow failure by aligning TypeScript with Astro peer constraints - #384

Merged
BeyondMagic merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job
Aug 7, 2026
Merged

Resolve build workflow failure by aligning TypeScript with Astro peer constraints#384
BeyondMagic merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

The build GitHub Actions job failed at npm ci due to an unsatisfied peer dependency: @astrojs/check@0.9.10 does not support TypeScript 7. This change restores install/build compatibility by pinning TypeScript to a supported major.

  • Root cause addressed

    • @astrojs/check@0.9.10 requires typescript: ^5 || ^6, while the repo declared typescript: ^7.0.2.
  • Dependency alignment

    • Updated devDependencies.typescript from ^7.0.2 to ^6.0.3 in package.json.
    • Regenerated package-lock.json to capture the resolved graph under the supported TypeScript major.
  • Scope

    • No workflow logic or app/source behavior changes; this is a dependency-resolution fix for CI install failure.
{
  "devDependencies": {
    "@astrojs/check": "^0.9.10",
    "typescript": "^6.0.3"
  }
}

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
Copilot AI requested a review from BeyondMagic August 7, 2026 01:03
@BeyondMagic
BeyondMagic marked this pull request as ready for review August 7, 2026 01:08
@BeyondMagic
BeyondMagic merged commit 521d854 into main Aug 7, 2026
2 checks passed
@BeyondMagic
BeyondMagic deleted the copilot/fix-failing-github-actions-job branch August 7, 2026 01:09
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