Skip to content

ci: add GitHub Actions workflow (typecheck · lint · test · build)#4

Merged
jmgomezl merged 2 commits into
mainfrom
ci/add-github-actions
Jun 3, 2026
Merged

ci: add GitHub Actions workflow (typecheck · lint · test · build)#4
jmgomezl merged 2 commits into
mainfrom
ci/add-github-actions

Conversation

@jmgomezl

@jmgomezl jmgomezl commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Adds a CI workflow that runs on every push and PR to main:

  1. npm ci
  2. npm run typecheck
  3. npm run lint (Biome)
  4. npm test (Vitest)
  5. npm run build (tsup)

Node 20 with npm cache. Mirrors the workflow already proven in hak-plugin-github-pay. No source changes — all referenced scripts already exist in package.json.

🤖 Generated with Claude Code

jmgomezl and others added 2 commits June 2, 2026 20:33
Runs on push and PR to main: npm ci -> typecheck -> lint (Biome) ->
test (Vitest) -> build (tsup). Mirrors the workflow already used in
hak-plugin-github-pay.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The new CI workflow surfaced pre-existing issues, fixed here so the
pipeline is green:
- package-lock.json was out of sync with package.json (npm ci failed)
- tests injected pythClient via the Context arg and passed null as the
  unused client, neither of which typechecked; cast both to match how
  the tools themselves treat these values
- applied Biome format/import-order fixes

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jmgomezl jmgomezl merged commit fdf9ba4 into main Jun 3, 2026
1 check passed
@jmgomezl jmgomezl deleted the ci/add-github-actions branch June 3, 2026 01:48
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