fix(security): gate landing dependency audit

This commit is contained in:
ZacharyZhang-NY committed 2026-05-15 02:12:47 -04:00
1 parent 0c85dc3d32
commit 83faa9629b
10 files changed
+13 -3

No files matched your search

+2 -1
View File
@@ -51,7 +51,7 @@ function printHelp() {
Options:
--platforms=mac,win,linux Comma-separated platform list (default: all)
--skip-verify Skip pnpm verify before release builds
--skip-verify Skip dependency audit and pnpm verify before release builds
--no-upload Build artifacts locally without publishing
--help Show this help
@@ -251,6 +251,7 @@ async function main() {
await rm(localReleaseDir, { recursive: true, force: true });
if (!options.skipVerify) {
await run("pnpm", ["audit:deps"]);
await run("pnpm", ["verify"]);
}
if (options.platforms.includes("mac")) {