Unverified Commit e2e9cfe3 authored by Hong Minhee's avatar Hong Minhee
Browse files

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]
parent 8a3c765c
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@
        "codegen"
      ]
    },
    "install": "pnpm install",
    "test": {
      "command": "deno test --check --doc --allow-all --unstable-kv --trace-leaks --parallel",
      "dependencies": [
@@ -57,13 +58,15 @@
    "test:node": {
      "command": "pnpm run --recursive --filter '!{docs}' test",
      "dependencies": [
        "codegen"
        "codegen",
        "install"
      ]
    },
    "test:bun": {
      "command": "pnpm run --recursive --filter '!{docs}' test:bun",
      "dependencies": [
        "codegen"
        "codegen",
        "install"
      ]
    },
    "test-all": {