Skip to content

Commit a2472d3

Browse files
committed
ci: use dedicated ts-check
1 parent cc40686 commit a2472d3

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
npm_config_loglevel: "error"
2424

2525
- name: Lint 🧹
26-
run: npm run lint
26+
run: |
27+
npm run lint
28+
npm run ts-check
2729
2830
- name: Build 🔧
2931
run: npm run build

.github/workflows/pr.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
npm_config_loglevel: "error"
2424

2525
- name: Lint 🧹
26-
run: npm run lint
26+
run: |
27+
npm run lint
28+
npm run ts-check
2729
2830
- name: Build 🔧
2931
run: npm run build

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"docs": "typedoc --options typedoc.json",
2020
"test": "vitest",
2121
"test:coverage": "vitest --coverage --coverage.include=src/**",
22-
"test:ci": "tsc --noEmit && vitest --coverage --coverage.reporter=lcov --coverage.include=src/**",
22+
"test:ci": "vitest --coverage --coverage.reporter=lcov --coverage.include=src/**",
2323
"build": "tsup",
2424
"build:min": "MINIFY=true tsup && node scripts/gzip.mjs",
2525
"release": "commit-and-tag-version"

0 commit comments

Comments
 (0)