Skip to content

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

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

ci: add GitHub Actions workflow (typecheck · lint · test · build)#1
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:34
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)
- src/client.ts used non-null assertions (!) on optional contract IDs;
  replaced with an explicit requireContractId check that throws a clear
  error when a contract ID is unset, instead of passing undefined to
  setContractId (satisfies Biome noNonNullAssertion)
- applied Biome safe lint/format fixes

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jmgomezl jmgomezl merged commit ce89fff 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