Repository navigation
ci(release): automate releases with uppt and npm trusted publishing - #1501
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
commit: |
Bundle sizeClient 774.5 kB (no change) · Server 1.59 MB No route loads 100 B more or less before it renders. No prerendered URL's initial load or HTML changes by 100 B or more. Brotli sizes. Changes under 100 B are left out of the tables. Measured by nuxt-bundle-analyzer for |
This branch was successfully deployed
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.
Releases ran locally with release-it (
pnpm release), using an npm login and a hand-pasted GitHub release. This moves them to CI with uppt, like comark (#562).mainopens a draftrelease/vX.Y.ZPR fordocusandcreate-docusin lockstep. Merging it tags, creates the GitHub release from the PR body, and stages both packages on npm over OIDC, ready for approval with 2FA.CHANGELOG.mdis deleted; release notes live in GitHub Releases.Evidence
Dry run of uppt's release PR step on
main:pnpm packafter an install with--ignore-scriptsbuildscreate-docus/dist/main.mjs, and thedocustarball has 123 files, the same as the published 5.15.0.Notes
Before merging: create the
npmenvironment, enable "Allow GitHub Actions to create and approve pull requests", and add trusted publishers for both packages (npm trust github <pkg> --file release.yml --repo nuxt-content/docus --env npm --allow-stage-publish).ELI5
Publishing a new Docus version used to happen from a laptop. Now GitHub prepares a release PR on its own, and merging it builds the packages. A maintainer then clicks approve on npm to make them live.
🤖 Generated with Amp, reviewed by @larbish before opening.