Skip to content

Add a release-gated package smoke test#32

Merged
theinfosecguy merged 2 commits into
mainfrom
test/package-smoke
Jun 14, 2026
Merged

Add a release-gated package smoke test#32
theinfosecguy merged 2 commits into
mainfrom
test/package-smoke

Conversation

@theinfosecguy

Copy link
Copy Markdown
Owner

Problem & Solution Overview

Adds a release-gated package smoke test for the published artifact: run npm pack, install the tarball into a temp dir, use that installed CLI to generate Node and Express apps, install each app's deps, start the server, and assert an HTTP 200 response. It is kept out of the fast default suite (run via npm run test:package) and executed by a release.yml CI workflow on version tags, so it gates every npm release.

Testing Done

npm run test:package: 2 passing — Express returns 200 with Welcome to ServerGen!, Node returns 200 with Hello World, both booted from the installed tarball, no orphaned processes. npm test (default suite) unchanged at 203.

@theinfosecguy theinfosecguy merged commit 9ccdce6 into main Jun 14, 2026
5 checks passed
@theinfosecguy theinfosecguy deleted the test/package-smoke branch June 14, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant