Skip to content

Commit 68220ee

Browse files
committed
Restructure test-all task
- Add test:node task for running pnpm tests - Convert test-all to use dependencies array format - Include Node.js tests in the complete test suite [ci skip]
1 parent 1b9cba8 commit 68220ee

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

deno.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@
5252
"tasks": {
5353
"check": "deno check src/ && deno lint && deno fmt --check && deno publish --dry-run --allow-dirty && deno run scripts/check_versions.ts",
5454
"test": "deno test --allow-env=NODE_V8_COVERAGE,JEST_WORKER_ID --allow-net=hollo.social --parallel",
55-
"test-all": "deno task check && deno task test",
55+
"test:node": "pnpm install && pnpm test",
56+
"test-all": {
57+
"dependencies": ["check", "test", "test:node"]
58+
},
5659
"coverage": "deno task test --coverage --clean && deno coverage --html",
5760
"hooks:install": "deno run --allow-read=deno.json,.git/hooks/ --allow-write=.git/hooks/ jsr:@hongminhee/deno-task-hooks",
5861
"hooks:pre-commit": "deno task check"

0 commit comments

Comments
 (0)