-
Notifications
You must be signed in to change notification settings - Fork 0
ci: Add preview publish workflow for PRs #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Automatically publishes a preview package to npm for each open PR, versioned as 0.0.0-pr.<number>.<sha> with a pr-<number> dist-tag. Cleans up the dist-tag when the PR is closed. https://claude.ai/code/session_01KU3xVUdpt6CP6sjwRFFydY
JMAP Spec Coverage
Overall: 15/31 methods (48.4%) Blob (0/4)
Core (0/1)
Email (6/8)
EmailSubmission (5/5)
Identity (0/3)
Mailbox (4/5)
SearchSnippet (0/1)
Thread (0/2)
VacationResponse (0/2)
|
Adds id-token: write permission and NPM_CONFIG_PROVENANCE to bypass 2FA/OTP requirement, matching the release workflow approach.
JMAP Spec Coverage
Overall: 15/31 methods (48.4%) Blob (0/4)
Core (0/1)
Email (6/8)
EmailSubmission (5/5)
Identity (0/3)
Mailbox (4/5)
SearchSnippet (0/1)
Thread (0/2)
VacationResponse (0/2)
|
Remove static token auth and use npm OIDC token exchange to bypass 2FA requirement, matching how semantic-release publishes.
JMAP Spec Coverage
Overall: 15/31 methods (48.4%) Blob (0/4)
Core (0/1)
Email (6/8)
EmailSubmission (5/5)
Identity (0/3)
Mailbox (4/5)
SearchSnippet (0/1)
Thread (0/2)
VacationResponse (0/2)
|
OIDC trusted publishing only supports one workflow per package. Use granular token with bypass 2FA instead.
JMAP Spec Coverage
Overall: 15/31 methods (48.4%) Blob (0/4)
Core (0/1)
Email (6/8)
EmailSubmission (5/5)
Identity (0/3)
Mailbox (4/5)
SearchSnippet (0/1)
Thread (0/2)
VacationResponse (0/2)
|
Move preview publish and cleanup jobs into publish.yml so they share the same trusted publisher configuration. This lets preview publishes use OIDC token exchange instead of a static NPM_TOKEN, bypassing 2FA.
Preview Package PublishedPublished from commit 1415978 |
JMAP Spec Coverage
Overall: 15/31 methods (48.4%) Blob (0/4)
Core (0/1)
Email (6/8)
EmailSubmission (5/5)
Identity (0/3)
Mailbox (4/5)
SearchSnippet (0/1)
Thread (0/2)
VacationResponse (0/2)
|
JMAP Spec Coverage
Overall: 15/31 methods (48.4%) Blob (0/4)
Core (0/1)
Email (6/8)
EmailSubmission (5/5)
Identity (0/3)
Mailbox (4/5)
SearchSnippet (0/1)
Thread (0/2)
VacationResponse (0/2)
|
|
🎉 This PR is included in version 0.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Automatically publishes a preview package to npm for each open PR, versioned as 0.0.0-pr.. with a pr- dist-tag. Cleans up the dist-tag when the PR is closed.
https://claude.ai/code/session_01KU3xVUdpt6CP6sjwRFFydY