Skip to content

ci: make each caller's .mise.toml the single source for the toolchain - #246

Merged
h13 merged 3 commits into
mainfrom
ci/mise-single-source
Dec 1, 2026
Merged

h13 merged 3 commits into
mainfrom
ci/mise-single-source

Conversation

@h13

@h13 h13 commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Summary

Part of the org-wide mise single-source rollout (reference implementation: h13/renovate-config).

  • New actions/setup-toolchain composite action — promotes renovate-config's local setup action: jdx/mise-action (its own version Renovate-annotated) + pnpm store cache + pnpm install --frozen-lockfile --ignore-scripts for pnpm repos. Downstream repos will consume this instead of inlining pnpm/action-setup + setup-node.
  • ci-node.yml reads the caller's .mise.toml via mise-action; the unused node-version input is dropped (no caller passes it). Steps are inlined rather than using the composite so callers pinned to a SHA keep fully pinned behavior.
  • publish-node.yml / ci-markdown.yml: stale node-version: 24 → annotated "26" — these stay on setup-node deliberately: ci-markdown is called by repos without .mise.toml (including this one), and publish-node's npm trusted-publishing flow is auth-sensitive. The Renovate annotation keeps them current from now on.

Callers (fyi, textlint-rule-rfc2606-domains, salesforce-metadata-template, publish.yml consumers) get follow-up PRs bumping their refs to this merge and adding pnpm to their .mise.toml where missing.

Test plan

  • YAML parse-checked locally; repo CI runs actionlint on these files
  • ci-node.yml behavior change is exercised by the downstream PRs' CI, which pin this merge's SHA

h13 added 3 commits December 1, 2026 18:53
Promotes renovate-config's local setup action to a shared one:
jdx/mise-action (mise version itself Renovate-annotated) installs the
runtimes a repo pins in .mise.toml, plus pnpm store caching and a
frozen-lockfile install for pnpm repos. Non-pnpm repos get just the
runtimes.
Replaces pnpm/action-setup + setup-node (node-version input, default
26) with mise-action, so each calling repo's .mise.toml is the single
source of truth for node/pnpm. The node-version input is dropped — no
caller passes it. Install gains --ignore-scripts, matching pnpm's own
default of not running dependency scripts.
publish-node and ci-markdown hardcoded node-version: 24 with nothing
keeping it current. These stay on setup-node — ci-markdown's callers
need no .mise.toml and publish-node's npm trusted-publishing flow is
auth-sensitive — but the pin is now 26 and annotated so Renovate owns
it.
@h13
h13 merged commit d43cf0b into main Dec 1, 2026
2 checks passed
@h13
h13 deleted the ci/mise-single-source branch December 1, 2026 09:54
This was referenced Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant