From 4bfd457ca68f152a2d2dc0af3f2d66cb91faec94 Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Mon, 12 Oct 2026 19:16:44 +0000 Subject: [PATCH] Run yarn typecheck in CI Nothing ran tsc, so type errors in the @ts-check JS files could be merged unnoticed. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01BC5F5QPeQh5cHBjGBnvJ2T Signed-off-by: Christoph Knittel --- .github/workflows/ci.yml | 3 +++ changes/ci-typecheck.internal.md | 1 + 2 files changed, 4 insertions(+) create mode 100644 changes/ci-typecheck.internal.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9c8bd48a34..e90492a8fde 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -190,6 +190,9 @@ jobs: - name: Version Check run: yarn constraints + - name: Type check JS + run: yarn typecheck + - name: Test release plan run: yarn test-release-plan diff --git a/changes/ci-typecheck.internal.md b/changes/ci-typecheck.internal.md new file mode 100644 index 00000000000..c090cbc0004 --- /dev/null +++ b/changes/ci-typecheck.internal.md @@ -0,0 +1 @@ +- Run the TypeScript type check of the JS sources in CI. https://github.com/rescript-lang/rescript/pull/8836