Skip to content

Commit 61ee04d

Browse files
authored
chore: upgrade vitest to v4.1 and add workspace config with GitHub integration (#911)
- Bump vitest from ^4.0.15 to ^4.1.2 in pnpm-workspace.yaml catalog - Add root vitest.config.ts with `projects` globs to discover all sub-package configs (apps/*/vitest.config.ts, packages/*/vitest.config.ts) - Enable `github-actions` reporter automatically when running in CI for inline test failure annotations on PRs - Update root test script from per-package `pnpm run --filter '*' test` to unified `TZ=UTC vitest run` via the workspace - Add vitest as root devDependency for the workspace runner
1 parent ef95abe commit 61ee04d

4 files changed

Lines changed: 132 additions & 102 deletions

File tree

‎package.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"prerelease": "pnpm run --filter '*' prerelease",
4040
"release": "pnpm bumpp -r",
4141
"postrelease": "git checkout ./**/package.json package.json",
42-
"test": "pnpm run --filter '*' test",
42+
"test": "TZ=UTC vitest run",
4343
"typecheck": "pnpm run --filter '*' typecheck"
4444
},
4545
"dependencies": {},
@@ -53,7 +53,8 @@
5353
"eslint": "catalog:lint",
5454
"lint-staged": "catalog:release",
5555
"oxfmt": "catalog:lint",
56-
"pkg-pr-new": "catalog:release"
56+
"pkg-pr-new": "catalog:release",
57+
"vitest": "catalog:testing"
5758
},
5859
"lint-staged": {
5960
"*": [

0 commit comments

Comments
 (0)