Skip to content

Fix CI: downgrade TypeScript to 5.x for @astrojs/check compatibility#16

Merged
mahata merged 1 commit intomainfrom
copilot/fix-github-actions-workflow
Apr 6, 2026
Merged

Fix CI: downgrade TypeScript to 5.x for @astrojs/check compatibility#16
mahata merged 1 commit intomainfrom
copilot/fix-github-actions-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 6, 2026

@astrojs/check@0.9.8 requires typescript@^5.0.0, but package.json had typescript@^6.0.2, causing npm ci to fail with ERESOLVE on every CI run.

Changes

  • package.json: downgrade typescript from ^6.0.2^5.9.3
  • package-lock.json: regenerated to reflect the resolved dependency tree

@mahata mahata marked this pull request as ready for review April 6, 2026 14:53
Copilot AI review requested due to automatic review settings April 6, 2026 14:53
@mahata mahata merged commit 4054a55 into main Apr 6, 2026
1 check passed
@mahata mahata deleted the copilot/fix-github-actions-workflow branch April 6, 2026 14:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes CI install failures by aligning the repository’s TypeScript version with @astrojs/check@0.9.8’s peerDependencies constraint (typescript@^5.0.0), preventing npm ci ERESOLVE conflicts.

Changes:

  • Downgrade typescript from ^6.0.2 to ^5.9.3 in package.json.
  • Regenerate package-lock.json to reflect the resolved dependency tree with TypeScript 5.9.3.
Show a summary per file
File Description
package.json Pins TypeScript to a 5.x version compatible with @astrojs/check@0.9.8.
package-lock.json Updates the lockfile to the TypeScript 5.9.3 resolution and associated metadata.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/2 changed files
  • Comments generated: 0

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.

3 participants