
Integration Tests
- 108 installs
- 3.5k repo stars
- Updated August 4, 2026
- openai/openai-agents-js
openai-agents-js integration tests with Verdaccio local registry publish pipeline.
About
openai-agents-js integration tests skill for the pipeline depending on a local Verdaccio npm registry. Executes integration tests and local publish workflows validating package consumption as published artifacts rather than workspace links. Used when asked to run integration tests or local publish workflows in the monorepo. Documents Verdaccio startup, registry configuration, test execution order, and cleanup after integration test runs complete.
- Integration tests pipeline with local Verdaccio npm registry
- Validates packages as published artifacts not workspace links
- Local publish workflow execution in monorepo
- Verdaccio startup and registry configuration documented
- Triggers on integration tests or local publish workflow requests
Integration Tests by the numbers
- 108 all-time installs (skills.sh)
- +4 installs in the week ending Jul 26, 2026 (Skillselion tracking)
- Ranked #969 of 2,154 Testing & QA skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
integration-tests capabilities & compatibility
- Capabilities
- run verdaccio registry · execute integration tests · validate local publish
- Use cases
- testing · ci cd
What integration-tests says it does
Run the integration-tests pipeline that depends on a local npm registry (Verdaccio).
npx skills add https://github.com/openai/openai-agents-js --skill integration-testsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 108 |
|---|---|
| repo stars | ★ 3.5k |
| Last updated | August 4, 2026 |
| Repository | openai/openai-agents-js ↗ |
How do I run integration tests with local npm publish in agents-js?
Run the openai-agents-js integration-tests pipeline with local Verdaccio npm registry for publish workflow validation.
Who is it for?
Maintainers running integration tests or local publish workflows in openai-agents-js.
Skip if: Unit tests only without Verdaccio registry dependency.
When should I use this skill?
User asks to execute integration tests or local publish workflows in this repo.
What you get
Integration test pipeline completed with Verdaccio registry and publish validation.
Files
Integration Tests
Overview
Run integration tests that require a local npm registry by starting pnpm local-npm:start in a background subprocess, executing the build/reset/publish/test pipeline in the main process, then cleanly shutting down the registry process and returning results.
Workflow
Codex execution environment
- When Codex invokes this skill, run both
pnpm local-npm:startand the main pipeline outside the Codex sandbox by default (sandbox_permissions=require_escalated). The integration suites install dependencies inside fixture projects withnpm install,bun install, Deno, Wrangler, local emulators, Docker, and other subprocesses; running them inside the Codex sandbox can cause environment-only failures such asnpmEPERMwriting to~/.npm/_cacache/tmpor BunPermissionDeniedwriting to its tempdir. - Use sandboxed execution only when the user explicitly asks for it. If a sandboxed run fails during dependency installation or temp/cache writes, rerun the same exact pipeline outside the sandbox before classifying the failure as repo-induced.
- Still keep the registry lifecycle local to the run: start Verdaccio before the pipeline and stop it after the pipeline, even when a failure occurs.
1. Start the local registry (subprocess)
- Start a background process with
pnpm local-npm:startand keep its session id so it can be stopped later. - Wait until the registry is ready (look for a Verdaccio listen message or the default
http://localhost:4873line). If no explicit ready line appears, wait a few seconds and proceed. - If the port is already in use, note that an existing registry may be running and proceed only if it matches the expected local registry; otherwise stop it and restart.
2. Run the main pipeline (main process)
Run this exact sequence in the main process and capture the output:
pnpm i && pnpm build:ci && pnpm local-npm:reset && pnpm local-npm:publish && OPENAI_AGENTS_RUN_STORAGE_MOUNT_INTEGRATION=1 pnpm test:integration- Use
pnpm build:cihere so the skill validates the same serialized build path that GitHub Actions now uses, while still running the normalprebuildandpostbuildlifecycle steps. - Run
pnpm test:integrationwithOPENAI_AGENTS_RUN_STORAGE_MOUNT_INTEGRATION=1so the optional sandbox storage mount coverage runs by default when this skill is used. This enables the local Azurite and MinIO smoke tests without changing the repository's plainpnpm test:integrationdefault.
- Return the full success/failure outcome and a concise summary of the results.
- Always capture the stdout/stderr from
pnpm test:integrationand include it in the final response (trim obvious noise if extremely long) inside a fenced code block. - Do not use watch mode.
If pnpm local-npm:publish fails
Troubleshoot using integration-tests/README.md, which lists the canonical recovery steps. If time is short, prioritize the fixes in the order given there and surface the exact error text in your response.
3. Clean up the registry process
- Send Ctrl+C to the registry subprocess and wait for it to exit.
- If it does not exit, terminate it by PID and confirm the port is free before finishing.
Output expectations
- Always include the integration test results in the response.
- If any step fails, include the failing command, the error output summary, and the next recommended action.
interface:
display_name: "Integration Tests"
short_description: "Run the Verdaccio-backed integration test pipeline"
default_prompt: "Use $integration-tests to run the local Verdaccio-backed integration test pipeline and summarize any failures."
Related skills
FAQ
Why Verdaccio?
Integration tests depend on a local npm registry to validate published package consumption.
When should I run this?
When asked to execute integration tests or local publish workflows in openai-agents-js.
How is this different from unit tests?
Integration tests validate end-to-end publish and install paths via Verdaccio.