Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
- 'component/**'
- 'connection/**'
- 'cli/**'
# Root-level code the lint job actually covers. Without these, a change
# confined to scripts/ skipped CI entirely while still being lintable
# code — and scripts/ holds the predev/prebuild import generators (#1263).
- 'scripts/**'
- 'eslint.config.js'
- 'sonar-project.properties'
- 'Dockerfile'
- '.github/workflows/ci.yml'
Expand All @@ -20,6 +25,11 @@ on:
- 'component/**'
- 'connection/**'
- 'cli/**'
# Root-level code the lint job actually covers. Without these, a change
# confined to scripts/ skipped CI entirely while still being lintable
# code — and scripts/ holds the predev/prebuild import generators (#1263).
- 'scripts/**'
- 'eslint.config.js'
- 'sonar-project.properties'
- 'Dockerfile'
- '.github/workflows/ci.yml'
Expand Down Expand Up @@ -84,6 +94,14 @@ jobs:
- name: Lint all packages
run: npm run lint

# scripts/__tests__ was previously run by NO workflow (#1263) — 71 tests
# covering, among other things, the plugin/connector import generators
# that run as predev/prebuild. A break there stops every dev and build.
# Runs here rather than in unit-tests to keep it off the oversubscribed
# four-package runner (#1240).
- name: Test root scripts
run: npm run test:scripts

# ── Job 1: Unit & integration tests with coverage ──────────────────────────
# All three packages run in parallel within a single job.
# Connection integration tests use GitHub service containers.
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@
"dev:enterprise": "bash scripts/setup-enterprise.sh && npm run dev",
"prepare": "husky",
"postinstall": "[ -n \"$CI\" ] || [ ! -d \"cli/src\" ] || (npm -w cli run build && npm link ./cli)",
"verify": "npm run typecheck && npm run lint && npm run test",
"verify": "npm run typecheck && npm run lint && npm run test && npm run test:scripts",
"typecheck": "npm -w component exec tsc -- --noEmit && npm -w app exec tsc -- --noEmit",
"sonar:local": "node scripts/sonar-local.mjs",
"review:local": "coderabbit review --base release/1.4 --committed -c CLAUDE.md -c .coderabbit.yaml"
"review:local": "coderabbit review --base release/1.4 --committed -c CLAUDE.md -c .coderabbit.yaml",
"test:scripts": "vitest run scripts/__tests__ --exclude '**/.claude/**' && node --test 'scripts/__tests__/*.node-test.mjs'"
},
"lint-staged": {
"app/**/*.{ts,tsx}": [
Expand Down
Loading