Repository navigation
ci: run installed-package consumer checks before publish - #794
cindybby18 wants to merge 1 commit into
Conversation
0eeffe9 to
fad305e
Compare
|
Warning Possible malicious code: please review before merging. An automated security scan flagged files in this pull request that appear to contain malicious code. Code like this can run automatically when a project is opened in an editor or its dependencies are installed, so it could compromise the machine of anyone who checks out this branch. Automated scans can be wrong, so this may be a false positive. Maintainers: please review the flagged files carefully before merging, on GitHub in your browser rather than by checking out the branch. The malicious part is often hidden far off to the right of an ordinary-looking line, so scroll sideways through each file. @cindybby18: this pull request adds or changes these files, possibly without your knowledge. Malware like this spreads by adding itself to repositories on machines it has infected, so your machine might be compromised. Please undo these changes in this pull request, and don't open or run other projects on that machine until you've checked it. Flagged files at commit Only merge once you're confident these files are safe. ℹ️ Posted automatically by Drips Wave. Questions? Contact support@drips.network. |
Overview
This PR runs the Bun and Node consumer fixtures against the packed artifact in CI and before publication, so a broken runtime import or declaration fails the consumer job instead of reaching npm.
Related Issue
Closes #AK-006
Changes
.github/workflows/ci.yml.github/workflows/publish.ymlscripts/check-package-consumer.mjsfixtures/consumer/package.jsonfixtures/consumer/verify.mjsVerification Results
Expected result: the script packs the SDK, installs the tarball into
fixtures/consumer, runsverify.mjsunder both Bun and Node, and exits 0. Introducing a broken runtime import or a missing declaration causes the script to exit non-zero, which fails the consumer job before publication.node scripts/check-package-consumer.mjswith expected result aboveCloses #694