Running tests in specific platformsβ
npx poku
- It runs Poku through Node.js and ensures that all tests are run with Node.js (or tsx for TypeScript tests).
bun poku
- It runs Poku through Bun and ensures that all tests are run with Bun.
deno run npm:poku
- It runs Poku through Deno and ensures that all tests are run with Deno.
tip
For TypeScript users, there's no need to install tsx for Bun and Deno, as they both run TypeScript natively.
Overriding the runtimeβ
If you face issues in environments with multiple runtimes installed, you can use the POKU_RUNTIME environment variable to explicitly set the runtime:
POKU_RUNTIME=node poku
POKU_RUNTIME=bun poku
POKU_RUNTIME=deno poku
Recommendationsβ
tip
It's usually beneficial to have an exclusive CI for each platform, especially to ensure better control in error cases.
note
If you find any typos, feel free to open a Pull Request correcting them.