Skip to content

Add CI build with private dependency mocks - #96

Merged
Frotty merged 5 commits into
masterfrom
agent/ci-private-dependency-mocks
Aug 6, 2026
Merged

Add CI build with private dependency mocks#96
Frotty merged 5 commits into
masterfrom
agent/ci-private-dependency-mocks

Conversation

@Frotty

@Frotty Frotty commented Aug 6, 2026

Copy link
Copy Markdown
Member

What changed

  • Add a GitHub Actions build workflow for install, lint, typecheck, tests, bundling, and VSIX validation.
  • Replace private local casc-ts and war3-model checkouts in CI with committed API/fixture mocks.
  • Keep real image fixture coverage for local development while allowing mock-mode CI tests.
  • Prewarm model thumbnails when the model asset browser opens or the model tab is selected.
  • Refresh the lockfile dependencies.

Why

The extension consumes casc-ts and war3-model through local file:../... dependencies, but those repositories are not publicly checkoutable in GitHub Actions. The committed mocks preserve the expected sibling layout and enough API/shader/model behavior for CI to validate the extension itself without exposing private sources.

Validation

  • npm run lint
  • npx tsc -p . --noEmit
  • npm test
  • mock-mode npm test
  • npm run package-web
  • npm run test:vsix-contents

@Frotty
Frotty marked this pull request as ready for review August 6, 2026 10:31
@Frotty
Frotty merged commit a543c31 into master Aug 6, 2026
1 check passed
@Frotty
Frotty deleted the agent/ci-private-dependency-mocks branch August 6, 2026 13:13
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