Skip to content

Add GitHub Actions CI for worker tests and frontend type-check - #18

Merged
cmdlabtech merged 1 commit into
mainfrom
cursor/github-actions-ci-ff43
Nov 10, 2026
Merged

cmdlabtech merged 1 commit into
mainfrom
cursor/github-actions-ci-ff43

Conversation

@cmdlabtech

@cmdlabtech cmdlabtech commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Adds a single GitHub Actions workflow that runs on pull requests and on pushes to main.
  • Installs dependencies with npm ci on Node 22, matching this repo's npm lockfile and the Node 22 toolchain Vite requires (^20.19.0 || >=22.12.0).
  • Runs the worker vitest suite (npm test --workspace=packages/worker) and type-checks the frontend with npx tsc --noEmit -p packages/frontend.
  • One ubuntu-latest job, npm cache, read-only contents permission, and cancel-in-progress so it stays within free-tier minutes.

Test plan

  • CI workflow passes on this pull request (worker tests and frontend tsc).

Proof

Actions run 38418487880 on f61fadc completed with success (job check, 25s). Node resolved to v22.23.3.

Test worker
> vitest run

 ✓ tests/i18n.spec.ts (12 tests)
 ✓ tests/transcribe.spec.ts (8 tests)
 ✓ tests/feedback.spec.ts (22 tests)
 ✓ tests/map.spec.ts (2 tests)

 Test Files  4 passed (4)
      Tests  44 passed (44)

Type-check frontend
npx tsc --noEmit -p packages/frontend

tsc printed no diagnostics and the step succeeded (bash -e); the job then finished with conclusion success.

Open in Web Open in Cursor 

Run npm ci, the worker vitest suite, and frontend tsc on pull requests and pushes to main.

Co-authored-by: CMDLAB <cmdlabtech@users.noreply.github.com>
@cmdlabtech
cmdlabtech marked this pull request as ready for review November 10, 2026 14:11
@cmdlabtech
cmdlabtech merged commit 72e98ad into main Nov 10, 2026
1 check passed
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