Skip to content

fix(ci): preserve auth and build before npm publish#8

Merged
stevenobiajulu merged 1 commit intomainfrom
tweak-release-publish-auth-and-build
Feb 25, 2026
Merged

fix(ci): preserve auth and build before npm publish#8
stevenobiajulu merged 1 commit intomainfrom
tweak-release-publish-auth-and-build

Conversation

@stevenobiajulu
Copy link
Member

Summary:\n- build publishable packages in release publish-suite\n- stop removing npm auth right before publish\n- add npm publish --provenance\n\nWhy:\nRelease preflight passes, but publish-suite failed with ENEEDAUTH because auth was unset in the publish step. Also, publish-suite starts from a fresh checkout, so dist artifacts were missing and tarballs would be incomplete without an in-job build.\n\nValidation:\n- npm run build -w @usejunior/docx-core\n- npm run build -w @usejunior/docx-mcp\n- npm run build -w @usejunior/safe-docx\n

Release preflight now passes, but publish-suite failed with ENEEDAUTH because auth was explicitly unset right before npm publish.\n\nAlso, publish-suite runs in a fresh checkout, so dist artifacts were missing and tarballs would have been incomplete. Build the publishable packages in publish-suite and keep auth intact for trusted publishing. Add --provenance for signed provenance metadata.
@stevenobiajulu stevenobiajulu merged commit 8a10f4c into main Feb 25, 2026
9 checks passed
@stevenobiajulu stevenobiajulu deleted the tweak-release-publish-auth-and-build branch February 25, 2026 21:08
@codecov
Copy link

codecov bot commented Feb 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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