Skip to content

ci: add type checking and Node version matrix#10

Open
gregario wants to merge 1 commit into
phuryn:mainfrom
gregario:ci/enhance-workflow
Open

ci: add type checking and Node version matrix#10
gregario wants to merge 1 commit into
phuryn:mainfrom
gregario:ci/enhance-workflow

Conversation

@gregario
Copy link
Copy Markdown
Collaborator

Summary

  • Type checking as a separate CI job — catches type errors without needing PostgreSQL, fails fast
  • Node version matrix — tests on both Node 20 (LTS) and 22 to verify compatibility
  • Renamed test.ymlci.yml to reflect broader scope

What changed

Before After
Single test job Two jobs: typecheck + test
Node 22 only Node 20 + 22 matrix
Type errors only caught during npm run build tsc --noEmit runs independently

No changes to test behavior, database setup, or build steps.

Split CI into two jobs:
- typecheck: runs tsc --noEmit to catch type errors independently
- test: runs build + integration tests against PostgreSQL

Add Node 20 to the test matrix alongside 22 to verify compatibility
across current LTS versions. Remove FORCE_JAVASCRIPT_ACTIONS_TO_NODE24
env var (no longer needed with actions/setup-node@v4).

Rename test.yml → ci.yml to reflect broader scope.
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