Repository navigation
Release on tags through GitHub Actions, and date the 0.1.0 releases - #3
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014d2JufuQQoiwYUSnKQA9nu
GitHub Actions is now enabled for this repository. The release workflow authenticates through npm trusted publishing, and falls back to an NPM_TOKEN secret in the npm environment for a package's first release, which npm requires before a trusted publisher can be added. The README describes CI on pull requests and tag releases again, and the 0.1.0 changelogs of all three packages carry today's date. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014d2JufuQQoiwYUSnKQA9nu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Shmuel Lamm · project thread
GitHub Actions is now enabled for this repository. This PR makes pushing a tag the way to publish a package to npm. It also prepares the first release of all three packages.
What changes
release.ymlpublishes the package a tag names (sdk-v0.1.0,ai-sdk-v0.1.0,mastra-v0.1.0) with npm provenance, from thenpmenvironment.NPM_TOKENsecret in thenpmenvironment. npm tries trusted publishing first and uses the token only when that fails.scripts/ci.shstays as the way to run the same checks locally.@submilli/sdk,@submilli/ai-sdkand@submilli/mastraare dated 2026-11-01.publishConfigdoes not setprovenance. The workflow passes--provenanceitself, so a publish from a laptop still works if one is ever needed.Verification
npm run check(build + publint) passes for all three packages; both workflows parse as YAML.ci.ymlruns.After merge (repository and npm settings)
npm. Add the secretNPM_TOKENto it: a granular npm token that can publish packages in the@submilliscope.sdk-v0.1.0, wait for that run to finish, then pushai-sdk-v0.1.0andmastra-v0.1.0.submilli, repositorysubmilli-typescript, workflowrelease.yml, environmentnpm. Then deleteNPM_TOKEN.🤖 Generated with Claude Code
https://claude.ai/code/session_014d2JufuQQoiwYUSnKQA9nu