boneskull/Node.js Production Test Action

Run a test script against a package as a consumer would

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Maintainedlast commit Nov 21, 2025
License
None
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: boneskull/nodejs-production-test-action@f7f5b14d06630d4d5fae00214877ae5c692829cb # v2.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
scriptnpm script name (as in the `scripts` prop of `package.json``) to runyes
workspaceSpace-delimited list of one or more npm workspace names, paths, or a path to a workspace dir. Corresponds to the `--workspace` argument of `npm pack`. If present, will cause `npm run-script` to run for each resulting installation.no
workspacesPack all workspaces. Corresponds to the `--workspaces` flag of `npm pack`. If true, will cause `npm run-script` to run for each resulting installation. _Boolean._nofalse
includeWorkspaceRootIf `workspaces` is true, also pack the workspace root. Corresponds to the `--include-workspace-root` flag of `npm pack`. _Boolean._nofalse
extraNpmInstallArgsSpace-delimited list of extra arguments (including any leading dashes; e.g., `--ignore-scripts`) to use with `npm install /path/to/tarball.tgz`.no
verboseIf `true`, print whatever `npm` is doing under the hood.nofalse
jsonIf `true``, output JSON instead of human-readable text.nofalse

no outputs