ci(ci): add typecheck to lint job (#691)

This commit is contained in:
Frazer Smith
2025-10-05 15:23:30 +01:00
committed by GitHub
parent 6b8d34cb13
commit 9b5d06d9ab
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -71,12 +71,15 @@ jobs:
- name: Run Prettier
run: npm run lint:prettier
- name: Run License Checker
- name: Run Licensee
run: npm run lint:licenses
- name: Run build
run: npm run build --if-present
- name: Run typecheck
run: npm run typecheck --if-present
commit-lint:
name: Lint Commit Messages
if: >
+3 -1
View File
@@ -60,7 +60,8 @@
"prepare": "husky",
"test:unit:coverage": "jest --coverage",
"test:unit": "jest",
"test": "npm run lint && npm run lint:prettier && npm run test:unit"
"test": "npm run lint && npm run lint:prettier && npm run test:unit",
"typecheck": "tsc"
},
"commitlint": {
"extends": [
@@ -93,6 +94,7 @@
"@eslint/compat": "^1.3.0",
"@fdawgs/eslint-config": "^1.0.3",
"@jest/globals": "^30.0.4",
"@types/node": "^24.5.2",
"@types/semver": "^7.7.0",
"eslint": "^9.30.1",
"eslint-plugin-jest": "^29.0.1",