We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 71b22cc + 48a5e67 commit d18da44Copy full SHA for d18da44
.github/workflows/lint.yml
@@ -10,4 +10,10 @@ jobs:
10
node-version: 20
11
- run: npm ci
12
- run: npm run lint
13
- - run: npm run typecheck
+ - name: Typecheck
14
+ run: |
15
+ if ls src/**/*.ts >/dev/null 2>&1; then
16
+ npm run typecheck
17
+ else
18
+ echo "No TypeScript source files found, skipping typecheck"
19
+ fi
package.json
@@ -18,8 +18,8 @@
"scripts": {
"build": "tsup",
20
"dev": "tsup --watch",
21
- "test": "TS_NODE_PROJECT=tsconfig.test.json jest",
22
- "lint": "eslint src/ tests/",
+ "test": "TS_NODE_PROJECT=tsconfig.test.json jest --passWithNoTests",
+ "lint": "eslint --no-error-on-unmatched-pattern src/ tests/",
23
"typecheck": "tsc --noEmit"
24
},
25
"keywords": [
0 commit comments