diff --git a/README.md b/README.md index b178d95..ac6b7e4 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,18 @@ console.log(result.output); - `RuntimeContext` exposes task metadata, state, tools, cancellation, and event emission. - `InMemoryRuntimeStateStore` provides the first built-in state store. +## Local development + +Node.js `^20.19.0 || >=22.12.0` is required. + +```sh +npm ci +npm run typecheck +npm test +``` + +`npm test` builds the project through `pretest` before running the tests with the built-in Node.js test runner. + ## Release Releases are tag-driven. A `vX.Y.Z` tag must match `package.json` version `X.Y.Z`; the publish workflow validates that before `npm publish --access public`. diff --git a/package.json b/package.json index 304d641..b2df506 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "build": "tsc -p tsconfig.json", "typecheck": "tsc -p tsconfig.json --noEmit", "pretest": "npm run build", - "test": "node --test test", + "test": "node --test", "pack:dry-run": "npm pack --dry-run", "verify:version": "node scripts/verify-version.mjs" },