Skip to content

chore(ci): build the site on Linux to catch wrong-case imports - #4823

Merged
thetaPC merged 2 commits into
mainfrom
ci-build
Nov 4, 2026
Merged

thetaPC merged 2 commits into
mainfrom
ci-build

Conversation

@thetaPC

@thetaPC thetaPC commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Issue URL: N/A

What is the current behavior?

An import with the wrong casing, such as @site/static/usage/v9/button/Basic/index.mdx when the folder is basic, passes every required check:

  • Typecheck runs on Linux but never opens the doc pages that import from static/usage
  • The macOS and Windows jobs only run Lint, which does not resolve imports

The Vercel preview does fail, since it builds on Linux, but it is not a required check, so the PR can merge. The production deploy then fails the same way.

What is the new behavior?

The Linux Checks job runs build:preview, the same English build as Vercel previews, so a wrong-case import fails Verify and blocks the merge.

Does this introduce a breaking change?

  • Yes
  • No

Other information

The release notes script needs a token in CI, so the step passes the workflow's built-in GITHUB_TOKEN, as ionic-framework does in conventional-commit.yml. It is read-only on fork PRs, which is all the script needs.

@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-docs Ready Ready Preview Nov 4, 2026 10:05pm UTC

Request Review

@thetaPC
thetaPC marked this pull request as ready for review November 3, 2026 19:19
@thetaPC
thetaPC requested a review from a team as a code owner November 3, 2026 19:19
@thetaPC
thetaPC requested a review from brandyscarney November 3, 2026 19:19

@OS-jacobbell OS-jacobbell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@thetaPC
thetaPC merged commit de53f0d into main Nov 4, 2026
7 checks passed
@thetaPC
thetaPC deleted the ci-build branch November 4, 2026 23:11

This branch was successfully deployed

1 active deployment
Preview — 15f92458 Deployed Nov 4, 2026 by vercel[bot]
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