build(mcp-server): require the bundled draw.io in the package and cap the tarball at 40 MB

This commit is contained in:
dayuan.jiang
2026-10-11 20:56:07 +09:00
parent d415f19cf5
commit 7f84be7001
2 changed files with 19 additions and 1 deletions
+3
View File
@@ -62,6 +62,9 @@ jobs:
if: steps.version.outputs.publish == 'true'
run: npm test
# The build downloads the pinned draw.war from GitHub releases
# (scripts/fetch-drawio.mjs) and bundles a trimmed draw.io into
# dist/drawio; check-package confirms it is in the tarball
- name: Build and check package contents
if: steps.version.outputs.publish == 'true'
run: npm run build && npm run check-package