mirror of
https://github.com/Fdawgs/node-poppler.git
synced 2026-07-02 08:27:45 +08:00
ci(ci): add typecheck to lint job (#691)
This commit is contained in:
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user