fix(ci): install declared runtimes - #91
Merged
Merged
Conversation
Generate ephemeral mise tool declarations from package.json before CI setup so pnpm is available for caching and validation. Refresh contributor setup and runtime documentation.
nerdalytics
marked this pull request as ready for review
July 24, 2026 17:55
nerdalytics
marked this pull request as draft
July 24, 2026 17:57
nerdalytics
marked this pull request as ready for review
July 24, 2026 17:58
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.
What changed
.tool-versionsfrom the trackedpackage.jsonruntime declarations before
mise-actionruns.packageManagerandengines.pnpmdisagree.11.16.0, local
mise.local.tomlsetup, available tasks, and theauthoritative
mise run ciworkflow.Why
The first
trunkbuild enabled by #90 failed before dependency installation.CI had no tracked mise tool declarations because
mise.local.tomlisintentionally ignored, so
pnpm store path --silentfailed withpnpm: command not found. That left the cachepathempty and causedactions/cacheto stop the job.Generating
.tool-versionsbefore setup lets the pinned mise action installthe exact runtimes declared by the project without committing developer-local
tool configuration.
Impact
GitHub Actions can install Node and pnpm before resolving the pnpm store, while
local contributors retain ignored per-checkout mise configuration. Runtime
version drift between the pnpm engine and package-manager declaration now
fails during setup.
Validation
node 26.5.0andpnpm 11.16.0.git diff --checksuccessfully.mise run cipipeline successfully.Build and Testpassed in run 30114935725.