Skip to content

Commit e2e9cfe

Browse files
committed
Add install task for node and bun tests
This change adds a new `install` task to `deno.json` that runs `pnpm install`. This task is now a dependency for the `test:node` and `test:bun` tasks to ensure all dependencies are installed before running tests in those environments. [ci skip]
1 parent 8a3c765 commit e2e9cfe

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

deno.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"codegen"
4949
]
5050
},
51+
"install": "pnpm install",
5152
"test": {
5253
"command": "deno test --check --doc --allow-all --unstable-kv --trace-leaks --parallel",
5354
"dependencies": [
@@ -57,13 +58,15 @@
5758
"test:node": {
5859
"command": "pnpm run --recursive --filter '!{docs}' test",
5960
"dependencies": [
60-
"codegen"
61+
"codegen",
62+
"install"
6163
]
6264
},
6365
"test:bun": {
6466
"command": "pnpm run --recursive --filter '!{docs}' test:bun",
6567
"dependencies": [
66-
"codegen"
68+
"codegen",
69+
"install"
6770
]
6871
},
6972
"test-all": {

0 commit comments

Comments
 (0)