Repository navigation
Move the publication onto main and narrow its cascade - #141
Merged
Merged
Conversation
The updates matrix dispatched publish to url, contracts and translations, and contracts carried the chain on to forms. Only url stays in the matrix, so contracts, translations and forms now publish by manual dispatch.
The workflow runs no tests: it regenerates source/codegen/autogenerated.js through prepublishOnly and formats it, so it only fails when the generator itself throws. The file, the workflow name and the job are now named after what they do.
A matrix of one repository bought nothing, so the job dispatches to url directly and fail-fast goes with it. The gh flags are spelled out on the way: -R is --repo, and -f is --raw-field, not the --field it reads as, which would send a JSON boolean where the receiving workflow expects the string its own type declaration converts.
The default branch is renamed from aquamarine to main, so both triggers and the publish checkout follow it. The package now publishes to the latest dist-tag, which had been left behind on the 0.6 line while the aquamarine tag carried every release since.
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.
The default branch is renamed from aquamarine to main, so both workflow triggers and the publish checkout follow it, and the package publishes to the latest dist-tag instead of aquamarine. The updates job now dispatches to url alone rather than a matrix of three, with the gh flags spelled out. The test workflow is renamed to codegen after what it actually does: it regenerates source/codegen/autogenerated.js through prepublishOnly and formats it, so it only fails when the generator itself throws.