Skip to content

Commit d18da44

Browse files
authored
Merge branch 'ENG-219/build-setup' into ENG-219/app-bootstrap
2 parents 71b22cc + 48a5e67 commit d18da44

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/lint.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ jobs:
1010
node-version: 20
1111
- run: npm ci
1212
- run: npm run lint
13-
- run: npm run typecheck
13+
- 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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"scripts": {
1919
"build": "tsup",
2020
"dev": "tsup --watch",
21-
"test": "TS_NODE_PROJECT=tsconfig.test.json jest",
22-
"lint": "eslint src/ tests/",
21+
"test": "TS_NODE_PROJECT=tsconfig.test.json jest --passWithNoTests",
22+
"lint": "eslint --no-error-on-unmatched-pattern src/ tests/",
2323
"typecheck": "tsc --noEmit"
2424
},
2525
"keywords": [

0 commit comments

Comments
 (0)