chore: Add typechecking and pruning to CI (#2543)

This commit is contained in:
Dermot Duffy
2026-06-30 17:45:13 -07:00
committed by dermotduffy
parent a96dc2e863
commit c8e7fdd808
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -28,6 +28,12 @@ jobs:
- name: Lint - name: Lint
run: yarn run lint run: yarn run lint
- name: Type-check
run: yarn run typecheck
- name: Check for dead exports
run: yarn run prune
- name: Check formatting - name: Check formatting
run: yarn run format-check run: yarn run format-check
+2 -1
View File
@@ -189,10 +189,11 @@
"docs-update-dependencies": "./scripts/docs-update-dependencies.sh", "docs-update-dependencies": "./scripts/docs-update-dependencies.sh",
"docs-update-uml": "docker run --init --rm -u \"$(id -u):$(id -g)\" -e HOME=/tmp -e JAVA_TOOL_OPTIONS=-Duser.home=/tmp -v \"$(pwd):/data\" -w /data plantuml/plantuml -tsvg docs/uml/call-sequence.puml -o /data/docs/images", "docs-update-uml": "docker run --init --rm -u \"$(id -u):$(id -g)\" -e HOME=/tmp -e JAVA_TOOL_OPTIONS=-Duser.home=/tmp -v \"$(pwd):/data\" -w /data plantuml/plantuml -tsvg docs/uml/call-sequence.puml -o /data/docs/images",
"lint": "eslint '{src,tests}/**/*.ts'", "lint": "eslint '{src,tests}/**/*.ts'",
"typecheck": "tsc --noEmit -p tsconfig.json",
"format": "prettier --write .", "format": "prettier --write .",
"format-check": "prettier --check .", "format-check": "prettier --check .",
"rollup": "rollup -c", "rollup": "rollup -c",
"prune": "ts-prune", "prune": "ts-prune --error",
"test": "vitest run", "test": "vitest run",
"coverage": "vitest run --coverage" "coverage": "vitest run --coverage"
}, },