Skip to content

ci: run typecheck, tests and builds from a root workflow - #7

Merged
studiolxd merged 4 commits into
mainfrom
chore/ci-baseline
Sep 20, 2026
Merged

studiolxd merged 4 commits into
mainfrom
chore/ci-baseline

Conversation

@studiolxd

Copy link
Copy Markdown
Owner

Summary

The ci.yml files under packages/scorm/.github/ and example/.github/ were never executed: GitHub Actions only reads .github/workflows from the repository root. They were leftovers from when those directories were standalone repos, which means typecheck, tests and builds have had no CI coverage at all — only the Angular smoke test ran.

This consolidates them into a single root workflow (Node 20 and 22) and deletes the inert ones.

Groundwork for the upcoming npm → pnpm migration: the CI is introduced here, still on npm, so that any pre-existing failure surfaces now and isn't mistaken for a pnpm regression later.

Test plan

  • CI workflow runs and passes on Node 20 and 22
  • angular-smoke still passes
  • Locally verified: typecheck clean, 419 tests passing, example lints and builds

🤖 Generated with Claude Code

https://claude.ai/code/session_011kohSPc6KNpFd9EiV8Vbez

The ci.yml files under packages/*/.github (and example/.github in scorm) were
never executed: GitHub Actions only reads .github/workflows from the repository
root. They were leftovers from when those directories were standalone repos, so
typecheck, tests and builds had no CI coverage at all — only the Angular smoke
test ran.

Consolidate them into a single root workflow across Node 20 and 22.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011kohSPc6KNpFd9EiV8Vbez
@vercel

vercel Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
scorm-example Ready Ready Preview Sep 20, 2026 9:17am UTC

package-lock.json was generated on macOS and carries the installable entry for
@rolldown/binding-darwin-arm64 but not the linux-x64-gnu one (npm/cli#4828). On
a Linux runner `npm ci` therefore leaves vitest without its native rolldown
binding and every test file fails to load with MODULE_NOT_FOUND.

Mirror the workaround angular-smoke.yml already uses. This is temporary: the
pnpm migration drops it, since pnpm records every platform variant in the
lockfile and filters at install time. xapi's lockfile happens to carry both
entries, which is why only this repo is affected.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011kohSPc6KNpFd9EiV8Vbez
…h on Node 22

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011kohSPc6KNpFd9EiV8Vbez
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011kohSPc6KNpFd9EiV8Vbez
@studiolxd
studiolxd merged commit 9ed6466 into main Sep 20, 2026
5 checks passed
@studiolxd
studiolxd deleted the chore/ci-baseline branch September 20, 2026 09:27

This branch was successfully deployed

1 active deployment
Preview — 1898d641 Deployed Sep 20, 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.

1 participant