Skip to content

Commit

Permalink
ci: organize tests with vitest workspaces instead of turbo repo
Browse files Browse the repository at this point in the history
  • Loading branch information
helciofranco committed Mar 4, 2024
1 parent 3db675d commit 411f2a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:

- name: Run Vitest
run: |
pnpm test -- --run
pnpm run test
--
--run
--coverage.enabled
--coverage.reporter=json-summary
--coverage.reporter=json
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"build": "turbo build",
"ts:check": "turbo run ts:check",
"test": "turbo run test",
"test": "vitest",
"lint:check": "biome check --apply-unsafe .",
"lint:ci": "biome lint --max-diagnostics=1000 --diagnostic-level=error .",
"format": "biome format --write .",
Expand Down
3 changes: 0 additions & 3 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"build": {
"dependsOn": ["ts:check", "^build"],
"outputs": ["dist/**"]
},
"test": {
"dependsOn": []
}
}
}

0 comments on commit 411f2a1

Please sign in to comment.