ci: adopt shared @btravstack reusable CI + release workflows - #62
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates demesne’s CI and release pipelines to shared reusable workflows in btravstack/config, reducing repo-local workflow maintenance while keeping a few bespoke CI jobs (knip, bundle-size, package-check, node-floor).
Changes:
- Replaced the per-job CI gates with a single
cijob that callsci-reusable.yml, and wired bespoke jobs to depend on it. - Replaced the repo-local release job implementation with a call to
release-reusable.yml, passingRELEASE_PAT. - Dropped the old coverage artifact upload and removed the now-unneeded
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24env.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/ci.yml | Switches CI to a reusable workflow and keeps bespoke jobs gated on the reusable ci job. |
| .github/workflows/release.yml | Switches Release to a reusable workflow call and passes RELEASE_PAT. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # OIDC token minted via `id-token: write`. Each package must have a | ||
| # Trusted Publisher configured on npmjs.com pointing at this repo + | ||
| # workflow file (.github/workflows/release.yml). | ||
| uses: btravstack/config/.github/workflows/release-reusable.yml@main |
Contributor
Author
There was a problem hiding this comment.
Pinned to @workflows-v1.
Comment on lines
+16
to
+17
| ci: | ||
| uses: btravstack/config/.github/workflows/ci-reusable.yml@main |
Contributor
Author
There was a problem hiding this comment.
Pinned to @workflows-v1.
btravers
commented
Jul 24, 2026
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.
Migrate CI and release to the shared reusable workflows in
btravstack/config(the proven pattern already green inunthrown).CI (
.github/workflows/ci.yml)Replaces the common per-job gate (format, lint, typecheck, test, build, security-audit, changeset) with a single call to
ci-reusable.yml@main:changeset: trueknip: false— the knip job has a bespoke pre-step (Prisma client generation), so it stays a repo-local job.test-command: "pnpm test -- --coverage --reporter=default --reporter=github-actions"Bespoke jobs kept (unchanged steps,
needs: ci)knip— keeps the Prisma-client-generate pre-stepbundle-sizepackage-checknode-floor(Node 22 engine floor)Notes
testjob uploaded acoverage-reportartifact; the reusable workflow runs the coverage command but does not export the artifact. Coverage still runs and gates viatest-command.FORCE_JAVASCRIPT_ACTIONS_TO_NODE24env (the reusable workflows pin their own action versions; matches the provenunthrownsetup).Release (
.github/workflows/release.yml)Replaced with a call to
release-reusable.yml@main, passingRELEASE_PAT. The reusable defaults (pnpm run version/pnpm run release) match demesne's prior config, so no input overrides are needed.deploy-docs.ymland.github/actions/setupleft untouched.