Skip to content

Commit 0510d50

Browse files
committed
Fix CI not using vitest & goodbye log spam during testing!
1 parent 6a7f1cf commit 0510d50

File tree

10 files changed

+114
-112
lines changed

10 files changed

+114
-112
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
# =============================
4646

4747
- name: Run Tests
48-
run: npm run test
48+
run: pnpm run test
4949

5050
- name: Check Types
51-
run: npm run type-check
51+
run: pnpm run type-check

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"license": "LGPL-3.0-or-later",
1616
"scripts": {
1717
"build": "tsc",
18-
"test": "npx jest --verbose --colors",
19-
"test-ci": "npx jest --verbose --colors --ci --coverage --debug",
18+
"test": "vitest --run",
19+
"test-ci": "vitest --run",
2020
"type-check": "tsc --noEmit"
2121
},
2222
"files": [
@@ -37,19 +37,19 @@
3737
"exec": "ts-node --project ./tsconfig.json --esm"
3838
},
3939
"devDependencies": {
40-
"@types/jsdom": "^21.1.6",
41-
"@types/node": "^20.10.6",
40+
"@types/jsdom": "^21.1.7",
41+
"@types/node": "^20.16.1",
4242
"@typescript-eslint/eslint-plugin": "^5.62.0",
4343
"@typescript-eslint/parser": "^5.62.0",
4444
"@vitest/coverage-v8": "^2.0.5",
45-
"eslint": "^8.56.0",
46-
"eslint-plugin-github": "^4.10.1",
45+
"eslint": "^8.57.0",
46+
"eslint-plugin-github": "^4.10.2",
4747
"eslint-plugin-sonarjs": "^0.19.0",
4848
"eslint-plugin-unicorn": "^47.0.0",
49-
"jsdom": "^23.0.1",
49+
"jsdom": "^23.2.0",
5050
"rollup": "*",
5151
"ts-node": "^10.9.2",
52-
"typescript": "^5.3.3",
52+
"typescript": "^5.5.4",
5353
"vitest": "^2.0.5"
5454
},
5555
"keywords": [

0 commit comments

Comments
 (0)