Repository navigation
chore: sync release and preview CI with alchemy - #836
Merged
Merged
Conversation
- Preview packages publish through @alchemy.run/pkg to pkg.distilled.cloud (pkg.yml), replacing pr-package.yml and PR_PACKAGE_TOKEN. - Release uses alchemy's prepare/publish/commit scripts, without the force-latest and branch inputs or NPM_TOKEN. - prepare.ts bumps from the version every package.json shares and fails when they differ, instead of deriving the next version from npm. - CI checks that the packages share one version.
Contributor
|
Install the packages built from this commit: @distilled.cloudpnpm install https://pkg.distilled.cloud/@distilled.cloud/acme/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/adyen/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/apache-superset/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/archil/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/argocd/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/auth0/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/aws/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/axiom/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/azure/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/boat-dev/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/celld/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/chronosphere/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/clerk/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/cloudflare/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/coinbase/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/coolify/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/core/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/customerio/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/datadog/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/daytona/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/digitalocean/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/discord/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/docker/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/doppler/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/elasticsearch/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/expo-eas/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/fly-io/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/forgejo/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/gcp/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/github/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/google-workspace/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/grafana/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/growthbook/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/gusto/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/hetzner/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/hostinger/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/huggingface/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/iceberg/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/infisical/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/inngest/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/intercom/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/kubernetes/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/launchdarkly/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/meilisearch/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/mercury/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/metabase/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/modal/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/modrinth/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/mongodb-atlas/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/neon/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/okta/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/onepassword/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/opencode/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/ovh/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/paypal/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/plaid/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/planetscale/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/polar/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/porkbun/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/posthog/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/prisma/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/railway/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/redis-cloud/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/remote/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/render/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/resend/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/s2/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/sentry/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/slack/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/spacetimedb/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/squarespace/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/stackit/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/stripe/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/supabase/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/surrealdb/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/temporal/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/trigger-dev/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/turbopuffer/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/turso/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/typesense/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/unkey/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/vanta/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/vercel/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/whop/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/workos/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/xata/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/zendesk/pr:836:5d4aeb9pnpm install https://pkg.distilled.cloud/@distilled.cloud/zerossl/pr:836:5d4aeb9Published |
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.
Brings distilled's release and preview-package CI in line with alchemy's (alchemy-run/alchemy#2119, #2121, #2124), and changes how the release picks its version.
Preview packages
pr-package.yml(pkg.ing,PR_PACKAGE_TOKEN) is replaced bypkg.yml, alchemy's workflow on@alchemy.run/pkg(from npm,2.0.0-beta.81), publishing tohttps://pkg.distilled.cloud.force-cipublishes everything. Pushes tomainpublish everything.--group '@distilled.cloud=./packages/*'covers every published package. The old hand-written list was missing about 60 SDKs.Known cost: pkg treats
pnpm-lock.yamlandtsconfig.jsonas global files, and adding a provider touches both, so those PRs republish every package. Unchanged packages produce identical tarballs, so the registry skips uploading them.Release
prepare.ts,publish.tsandcommit.shcome from alchemy. Every release publishes tolatest, whichlatestalready tracks (1.0.0-rc.13), and theforce-latestandbranchinputs are gone.prepare.tsno longer asks npm and git tags for the next version. It reads the version everypackages/*/package.jsonshares, fails if they differ, and bumps from it:1.0.0-rc.13rc(default)1.0.0-rc.14rc.N,beta[.N],alpha[.N]patch/minor/major1.0.0(the rc becomes stable)x.y.z[-rc.N]0.0.0-<name>, published but not committedThe old logic released rc.13 again whenever any package was missing from npm at the latest rc.
@distilled.cloud/icebergwas added after rc.13, so the next default release would have been rc.13 again instead of rc.14.publish.tsstill skips tarballs whose version is already on npm, so a publish job that fails partway can be re-run.formatjob runspnpm validate:publish-packages, which checks that all packages share one version.